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