diff options
-rw-r--r-- | completion.org | 2 | ||||
-rw-r--r-- | lib/eos/jao-minibuffer.el | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/completion.org b/completion.org index 3df7606..b9e0001 100644 --- a/completion.org +++ b/completion.org @@ -149,8 +149,8 @@ #+end_src *** notmuch #+begin_src emacs-lisp - (jao-load-path "consult-notmuch") (use-package consult-notmuch + :ensure t :config (add-to-list 'consult-config '(consult-notmuch :preview-key any))) #+end_src 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) " %+ " |