mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-11-22 01:50:28 +01:00
Add force-mode-line-update
This commit is contained in:
parent
f1dea72cf6
commit
9131e57b24
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue