Merge pull request #35 from zhangpj/master

Fix an issue that may cause rhs disappeared
This commit is contained in:
Vincent Zhang 2018-10-21 17:26:24 +08:00 committed by GitHub
commit 19757b4a99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,7 +276,7 @@ active.")
(rhs-forms (doom-modeline--prepare-segments rhs))) (rhs-forms (doom-modeline--prepare-segments rhs)))
(defalias sym (defalias sym
(lambda () (lambda ()
(let ((rhs-str (format-mode-line rhs-forms))) (let ((rhs-str (format-mode-line (cons "" rhs-forms))))
(list lhs-forms (list lhs-forms
(propertize (propertize
" " 'display " " 'display