Fix #73: redundant eyebrowse-mode display in misc-info segment.

This commit is contained in:
Vincent Zhang 2018-12-24 16:13:33 +08:00
parent 6de3d21959
commit a20da08a11

View file

@ -1343,6 +1343,7 @@ Requires `eyebrowse-mode' to be enabled."
(str (if (and tag (< 0 (length tag))) (str (if (and tag (< 0 (length tag)))
tag tag
(when num (int-to-string num))))) (when num (int-to-string num)))))
(assq-delete-all 'eyebrowse-mode mode-line-misc-info)
(propertize (format " %s " str) 'face (propertize (format " %s " str) 'face
(if (doom-modeline--active) 'doom-modeline-buffer-major-mode))) (if (doom-modeline--active) 'doom-modeline-buffer-major-mode)))
"")) ""))