Refresh modeline filepath when renaming file
This commit is contained in:
parent
23075e937e
commit
85b8fc253c
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ provided."
|
||||||
(set-visited-file-name new-path)
|
(set-visited-file-name new-path)
|
||||||
(set-buffer-modified-p nil)
|
(set-buffer-modified-p nil)
|
||||||
(save-place-forget-unreadable-files)
|
(save-place-forget-unreadable-files)
|
||||||
|
(setq narf--spaceline-file-path nil)
|
||||||
(message "File '%s' successfully renamed to '%s'"
|
(message "File '%s' successfully renamed to '%s'"
|
||||||
(f-relative old-path project-root) (f-relative new-path project-root))))
|
(f-relative old-path project-root) (f-relative new-path project-root))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue