From c0c462c65b49ca1bde69cfd6e41d5bd66eb10ed8 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 10 May 2021 00:33:47 +0100 Subject: minibuffer mode-line in gnus buffers --- lib/eos/jao-minibuffer.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index be31245..df92d3f 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -97,8 +97,13 @@ '(circe-chat-target (:eval (format " [%d]" (length (circe-channel-nicks)))))) (defvar jao-minibuffer--mode-line-format - `((:propertize (exwm-title (" " exwm-title) " %[%b%]") - face mode-line-buffer-id) + `(" %[" + (:eval (if (derived-mode-p 'gnus-group-mode + 'gnus-article-mode + 'gnus-summary-mode) + mode-line-buffer-identification + "%b")) + "%]" (:propertize ,jao-minibuffer--circe face jao-themes-dimm) " %+ " (:propertize mode-name face jao-themes-f00) -- cgit v1.2.3