Half-revert d587d116
The evil-insert-state hooks were added upstream in doom-modeline.
This commit is contained in:
parent
b98f34d1fd
commit
1a4db744e3
1 changed files with 1 additions and 3 deletions
|
@ -72,9 +72,7 @@
|
||||||
;; modified state, so we try to force them to behave.
|
;; modified state, so we try to force them to behave.
|
||||||
(defun +modeline*inhibit-modification-hooks (orig-fn &rest args)
|
(defun +modeline*inhibit-modification-hooks (orig-fn &rest args)
|
||||||
(with-silent-modifications (apply orig-fn args)))
|
(with-silent-modifications (apply orig-fn args)))
|
||||||
(advice-add #'ws-butler-after-save :around #'+modeline*inhibit-modification-hooks)
|
(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))
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue