summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-10 00:33:47 +0100
committerjao <jao@gnu.org>2021-05-10 00:33:47 +0100
commitc0c462c65b49ca1bde69cfd6e41d5bd66eb10ed8 (patch)
treec7e336e87f3a222f3644765e89eafcc5de23a719 /lib
parentd429454f795b192d1b37b4623e138ff8c06695ef (diff)
downloadelibs-c0c462c65b49ca1bde69cfd6e41d5bd66eb10ed8.tar.gz
elibs-c0c462c65b49ca1bde69cfd6e41d5bd66eb10ed8.tar.bz2
minibuffer mode-line in gnus buffers
Diffstat (limited to 'lib')
-rw-r--r--lib/eos/jao-minibuffer.el9
1 files changed, 7 insertions, 2 deletions
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)