diff options
author | jao <jao@gnu.org> | 2021-10-25 16:05:10 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-10-25 16:05:10 +0100 |
commit | 0427ce2e0a569baead9ace17fe45c2526b1741a6 (patch) | |
tree | fecd203b3722365f57627cbd4cd01804d4633ac7 /lib | |
parent | 821fa0818e7120f4fe94102fe3a79153beb1acf0 (diff) | |
download | elibs-0427ce2e0a569baead9ace17fe45c2526b1741a6.tar.gz elibs-0427ce2e0a569baead9ace17fe45c2526b1741a6.tar.bz2 |
wee tweaks
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eos/jao-minibuffer.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index 9ce5762..3474848 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -108,11 +108,10 @@ (defvar circe-chat-target nil) (defvar exwm-class-name nil) -(setq-default mode-line-position - '(exwm-class-name - ("") - ("%n (%2c %l " - (:eval (format "%d)" (line-number-at-pos (point-max))))))) +(defvar jao-minibuffer--mode-line-position + '(exwm-class-name ("") + ("%n %2c %l " + (:eval (format "%d" (line-number-at-pos (point-max))))))) (defvar jao-minibuffer--mode-line-format `("%[" @@ -165,6 +164,7 @@ (defun jao-minibuffer-add-mode-line (order) (setq jao-minibuffer--original-modeline mode-line-format) (setq-default mode-line-format '(" ")) + (setq-default mode-line-position jao-minibuffer--mode-line-position) (dolist (b (buffer-list)) (with-current-buffer b (setq-local mode-line-format '(" ")))) (jao-minibuffer-adjust-mode-line-faces) |