mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Merge pull request #108 from ConnorNelson/master
Update hooks to also run on undo tree visualize
This commit is contained in:
commit
eb29c549f9
1 changed files with 6 additions and 6 deletions
|
@ -122,8 +122,8 @@
|
||||||
(declare-function symbol-overlay-get-list 'symbol-overlay)
|
(declare-function symbol-overlay-get-list 'symbol-overlay)
|
||||||
(declare-function symbol-overlay-get-symbol 'symbol-overlay)
|
(declare-function symbol-overlay-get-symbol 'symbol-overlay)
|
||||||
(declare-function symbol-overlay-rename 'symbol-overlay)
|
(declare-function symbol-overlay-rename 'symbol-overlay)
|
||||||
(declare-function undo-tree-redo 'undo-tree)
|
(declare-function undo-tree-redo-1 'undo-tree)
|
||||||
(declare-function undo-tree-undo 'undo-tree)
|
(declare-function undo-tree-undo-1 'undo-tree)
|
||||||
(declare-function window-numbering-clear-mode-line 'window-numbering)
|
(declare-function window-numbering-clear-mode-line 'window-numbering)
|
||||||
(declare-function window-numbering-get-number-string 'window-numbering)
|
(declare-function window-numbering-get-number-string 'window-numbering)
|
||||||
(declare-function window-numbering-install-mode-line 'window-numbering)
|
(declare-function window-numbering-install-mode-line 'window-numbering)
|
||||||
|
@ -221,8 +221,8 @@ Uses `all-the-icons-material' to fetch the icon."
|
||||||
(add-hook 'after-change-functions #'doom-modeline-update-buffer-file-state-icon)
|
(add-hook 'after-change-functions #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(add-hook 'clone-indirect-buffer-hook #'doom-modeline-update-buffer-file-state-icon)
|
(add-hook 'clone-indirect-buffer-hook #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(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-1 :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
(advice-add #'undo-tree-redo :after #'doom-modeline-update-buffer-file-state-icon)
|
(advice-add #'undo-tree-redo-1 :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)
|
(advice-add #'widen :after #'doom-modeline-update-buffer-file-state-icon)
|
||||||
|
|
||||||
|
@ -267,8 +267,8 @@ mouse-1: Previous buffer\nmouse-3: Next buffer"
|
||||||
(advice-add #'rename-buffer :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'rename-buffer :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'set-visited-file-name :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'set-visited-file-name :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'undo :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'undo :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'undo-tree-undo :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'undo-tree-undo-1 :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'undo-tree-redo :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'undo-tree-redo-1 :after #'doom-modeline-update-buffer-file-name)
|
||||||
(advice-add #'symbol-overlay-rename :after #'doom-modeline-update-buffer-file-name)
|
(advice-add #'symbol-overlay-rename :after #'doom-modeline-update-buffer-file-name)
|
||||||
|
|
||||||
(when (>= emacs-major-version 26)
|
(when (>= emacs-major-version 26)
|
||||||
|
|
Loading…
Reference in a new issue