mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Refresh buffer status after `not-modified'
This commit is contained in:
parent
47a9538197
commit
f580ef89b6
1 changed files with 2 additions and 0 deletions
|
@ -297,6 +297,7 @@ Uses `all-the-icons-material' to fetch the icon."
|
||||||
(advice-add #'undo-tree-undo-1 :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'undo-tree-undo-1 :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(advice-add #'undo-tree-redo-1 :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'undo-tree-redo-1 :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(advice-add #'narrow-to-region :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'narrow-to-region :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
|
(advice-add #'not-modified :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(advice-add #'widen :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'widen :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(advice-add #'fancy-narrow-to-region :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'fancy-narrow-to-region :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(advice-add #'fancy-widen :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'fancy-widen :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
|
@ -342,6 +343,7 @@ mouse-1: Previous buffer\nmouse-3: Next buffer"
|
||||||
(add-hook 'after-change-functions #'doom-modeline-update-buffer-file-name)
|
(add-hook 'after-change-functions #'doom-modeline-update-buffer-file-name)
|
||||||
(add-hook 'clone-indirect-buffer-hook #'doom-modeline-update-buffer-file-name)
|
(add-hook 'clone-indirect-buffer-hook #'doom-modeline-update-buffer-file-name)
|
||||||
(add-hook 'evil-insert-state-exit-hook #'doom-modeline-update-buffer-file-name)
|
(add-hook 'evil-insert-state-exit-hook #'doom-modeline-update-buffer-file-name)
|
||||||
|
(advice-add #'not-modified :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'rename-buffer :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'rename-buffer :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'set-visited-file-name :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'set-visited-file-name :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'pop-to-buffer :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'pop-to-buffer :after #'doom-modeline-update-buffer-file-name)
|
||||||
|
|
Loading…
Reference in a new issue