From 6b6055a85567c04fd9fabf67603fbeaa7e51df7b Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 7 May 2024 23:54:37 +0530 Subject: (Emacs/config)~Fix bug with mode-line on bootup --- Emacs/.config/emacs/config.org | 13 +++++++------ 1 file 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)) -- cgit v1.2.3-13-gbd6f