diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eos/jao-minibuffer.el | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index fe49615..aa781a3 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -97,14 +97,16 @@ '(circe-chat-target (:eval (format " [%d]" (length (circe-channel-nicks)))))) (defvar repeat-in-progress nil) +(defvar w3m-current-title nil) (defvar jao-minibuffer--mode-line-format - `(" %[" - (:eval (if (derived-mode-p 'gnus-group-mode - 'gnus-article-mode - 'gnus-summary-mode) - mode-line-buffer-identification - "%b")) + `(" %[" + (:eval (cond ((derived-mode-p 'gnus-group-mode + 'gnus-article-mode + 'gnus-summary-mode) + mode-line-buffer-identification) + (w3m-current-title) + (t "%b"))) "%]" (:propertize ,jao-minibuffer--circe face jao-themes-dimm) " %+ " |