(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 (list
"%l:%c " ;; Line and column "%l:%c " ;; Line and column
"%p[" ;; Where in file + Evil state "%p[" ;; Where in file + Evil state
'(:eval (upcase '(:eval (with-eval-after-load "evil"
(upcase
(substring (substring
(format "%s" (if (bound-and-true-p evil-state) (format "%s" (if (bound-and-true-p evil-state)
evil-state evil-state
" ")) " "))
0 1))) 0 1))))
"] " "] "
"%+%b(" "%+%b("
'(:eval (format "%s" major-mode)) '(:eval (format "%s" major-mode))