From a059182cf3f1022e2293e4de563eb4272adad9d9 Mon Sep 17 00:00:00 2001 From: Matthew Fidler Date: Wed, 6 Apr 2016 09:30:56 -0500 Subject: [PATCH] Reset twice, once to ensure the minor mode is reset --- mode-icons.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mode-icons.el b/mode-icons.el index 9f4e123..e9ec4c3 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -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))