diff --git a/doom-modeline.el b/doom-modeline.el index a1db742..3ff91bd 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -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-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 #'widen :after #'doom-modeline-update-buffer-file-state-icon) (defvar-local doom-modeline--buffer-file-name nil) (defun doom-modeline-update-buffer-file-name (&rest _)