mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-30 19:19:52 +00:00
Merge pull request #61 from edkolev/patch-1
Update file state icon after widening
This commit is contained in:
commit
19019a781d
1 changed files with 1 additions and 0 deletions
|
@ -767,6 +767,7 @@ buffer where knowing the current project directory is important."
|
||||||
(advice-add #'undo :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'undo :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(advice-add #'undo-tree-undo :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'undo-tree-undo :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 #'widen :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
|
|
||||||
(defvar-local doom-modeline--buffer-file-name nil)
|
(defvar-local doom-modeline--buffer-file-name nil)
|
||||||
(defun doom-modeline-update-buffer-file-name (&rest _)
|
(defun doom-modeline-update-buffer-file-name (&rest _)
|
||||||
|
|
Loading…
Reference in a new issue