mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-11-21 17:40:30 +01:00
Use force-mode-line-update
This commit is contained in:
parent
220b53964f
commit
9e4d51fea0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue