Add force-mode-line-update

This commit is contained in:
Matthew L. Fidler 2016-01-22 12:05:08 -06:00
parent f1dea72cf6
commit 9131e57b24

View file

@ -187,7 +187,7 @@ ICON-SPEC should be a specification from `mode-icons'."
(setq mode-name (replace-regexp-in-string "^ " "" mode-name)) (setq mode-name (replace-regexp-in-string "^ " "" mode-name))
(setcdr minor (list (concat (or (and mode-icons-separate-images-with-spaces " ") "") (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)) (force-mode-line-update))
;;;###autoload ;;;###autoload
(define-minor-mode mode-icons-mode (define-minor-mode mode-icons-mode