(Emacs/config)~Fix bug with mode-line on bootup

This commit is contained in:
2024-05-07 23:54:37 +05:30
parent 6656253cac
commit 6b6055a855

View File

@@ -323,12 +323,13 @@ simplicity is above all.
(list
"%l:%c " ;; Line and column
"%p[" ;; Where in file + Evil state
'(:eval (upcase
(substring
(format "%s" (if (bound-and-true-p evil-state)
evil-state
""))
0 1)))
'(:eval (with-eval-after-load "evil"
(upcase
(substring
(format "%s" (if (bound-and-true-p evil-state)
evil-state
" "))
0 1))))
"] "
"%+%b("
'(:eval (format "%s" major-mode))