ui/modeline: update buffer id when renaming files
And revert 247ce145b
, since I wasn't aware
after-set-visited-file-name-hook existed.
This commit is contained in:
parent
247ce145b4
commit
b3006ecabb
2 changed files with 6 additions and 2 deletions
|
@ -366,6 +366,8 @@ Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
|
|||
focus-in-hook
|
||||
;; ...or when we change the current project!
|
||||
projectile-after-switch-project-hook
|
||||
;; ...when the visited file changes (e.g. it's renamed)
|
||||
after-set-visited-file-name-hook
|
||||
;; ...when the underlying file changes
|
||||
after-revert-hook)
|
||||
(defun +modeline--generate-buffer-id-cache-h ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue