diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 2c57ce5..090d980 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -305,6 +305,7 @@ Uses `all-the-icons-material' to fetch the icon." (advice-add #'org-narrow-to-block :after #'doom-modeline-update-buffer-file-state-icon) (advice-add #'org-narrow-to-element :after #'doom-modeline-update-buffer-file-state-icon) (advice-add #'org-narrow-to-subtree :after #'doom-modeline-update-buffer-file-state-icon) +(advice-add #'org-toggle-narrow-to-subtree :after #'doom-modeline-update-buffer-file-state-icon) (advice-add #'org-edit-src-save :after #'doom-modeline-update-buffer-file-state-icon) (advice-add #'symbol-overlay-rename :after #'doom-modeline-update-buffer-file-state-icon)