From d6550fafd5db2ae46351b1fd729758b796dd3aca Mon Sep 17 00:00:00 2001 From: Evgeni Kolev Date: Wed, 5 Dec 2018 13:13:07 +0200 Subject: [PATCH] Update file state icon after widening --- doom-modeline.el | 1 + 1 file changed, 1 insertion(+) 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 _)