From 66d23e39bb13e2f658f40eaab2faba35d5f1625a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 3 Mar 2019 02:17:42 -0500 Subject: [PATCH] Fix doom/move-this-file not opening renamed file --- core/autoload/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/autoload/files.el b/core/autoload/files.el index 571863987..89a6d1128 100644 --- a/core/autoload/files.el +++ b/core/autoload/files.el @@ -184,9 +184,9 @@ file if it exists, without confirmation." (when (file-exists-p old-path) (delete-file old-path)) (kill-this-buffer) - (find-file new-path) (doom--forget-file old-path new-path) (doom--update-file new-path) + (find-file new-path) (message "File successfully moved to %s" dest)))) (`overwrite-self (error "Cannot overwrite self")) (`aborted (message "Aborted"))