Reset twice, once to ensure the minor mode is reset

This commit is contained in:
Matthew Fidler 2016-04-06 09:30:56 -05:00
parent 2812f30418
commit a059182cf3

View file

@ -1678,6 +1678,8 @@ When ENABLE is non-nil, enable the changes to the mode line."
(defun mode-icons-reset ()
"Reset mode-icons icons."
(interactive)
(mode-icons-reset-now)
;; Run twice, in case the mode turns on some minor-modes
(run-with-idle-timer 0.1 nil #'mode-icons-reset-now))