mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Half-revert d587d116
The evil-insert-state hooks were added upstream in doom-modeline.
This commit is contained in:
@ -72,9 +72,7 @@
|
||||
;; modified state, so we try to force them to behave.
|
||||
(defun +modeline*inhibit-modification-hooks (orig-fn &rest args)
|
||||
(with-silent-modifications (apply orig-fn args)))
|
||||
(advice-add #'ws-butler-after-save :around #'+modeline*inhibit-modification-hooks)
|
||||
(add-hook 'evil-insert-state-exit-hook #'doom-modeline-update-buffer-file-name)
|
||||
(add-hook 'evil-insert-state-exit-hook #'doom-modeline-update-buffer-file-state-icon))
|
||||
(advice-add #'ws-butler-after-save :around #'+modeline*inhibit-modification-hooks))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user