mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Display correct buffer state after saving org src block.
This commit is contained in:
parent
56464b146e
commit
777390f00b
1 changed files with 2 additions and 0 deletions
|
@ -299,6 +299,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-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-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-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)
|
||||||
|
|
||||||
(when (>= emacs-major-version 26)
|
(when (>= emacs-major-version 26)
|
||||||
(add-variable-watcher
|
(add-variable-watcher
|
||||||
|
@ -346,6 +347,7 @@ mouse-1: Previous buffer\nmouse-3: Next buffer"
|
||||||
(advice-add #'symbol-overlay-rename :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'symbol-overlay-rename :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'popup-create :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'popup-create :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'popup-delete :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'popup-delete :after #'doom-modeline-update-buffer-file-name)
|
||||||
|
(advice-add #'org-edit-src-save :after #'doom-modeline-update-buffer-file-name)
|
||||||
|
|
||||||
(with-no-warnings
|
(with-no-warnings
|
||||||
(if (boundp 'after-focus-change-function)
|
(if (boundp 'after-focus-change-function)
|
||||||
|
|
Loading…
Reference in a new issue