aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-05-07 23:54:37 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-05-07 23:54:37 +0530
commit6b6055a85567c04fd9fabf67603fbeaa7e51df7b (patch)
tree49caf6efd862e896a57e3daf9dd95c3b4ccbd613 /Emacs/.config/emacs/config.org
parent6656253cacf198380fd764c99895b7dd5c7d68ed (diff)
downloaddotfiles-6b6055a85567c04fd9fabf67603fbeaa7e51df7b.tar.gz
dotfiles-6b6055a85567c04fd9fabf67603fbeaa7e51df7b.tar.bz2
dotfiles-6b6055a85567c04fd9fabf67603fbeaa7e51df7b.zip
(Emacs/config)~Fix bug with mode-line on bootup
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org13
1 files changed, 7 insertions, 6 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 2464cea..1635eab 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -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))