From 9e4d51fea0dd2b3cda1cc5ffe80eef7f9956c4f0 Mon Sep 17 00:00:00 2001 From: "Matthew L. Fidler" Date: Fri, 22 Jan 2016 11:32:49 -0600 Subject: [PATCH] Use force-mode-line-update --- mode-icons.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mode-icons.el b/mode-icons.el index 6615598..f727bec 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -186,7 +186,8 @@ ICON-SPEC should be a specification from `mode-icons'." (push (copy-sequence minor) mode-icons-set-minor-mode-icon-alist)) (setq mode-name (replace-regexp-in-string "^ " "" mode-name)) (setcdr minor (list (concat (or (and mode-icons-separate-images-with-spaces " ") "") - (mode-icons-propertize-mode mode-name icon-spec)))))))))) + (mode-icons-propertize-mode mode-name icon-spec))))))))) + (force-mode-line-update t)) ;;;###autoload (define-minor-mode mode-icons-mode