summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-11-07 18:02:24 +0000
committerjao <jao@gnu.org>2024-11-07 18:02:24 +0000
commitae54b20761539fdbf16689cfa6bb8b3e5b13c251 (patch)
treede90070a78321458a0ef5b68c2d18fd39ecbc6d8
parent4308710de811e3b4e2fb47f9024439df03e96b90 (diff)
downloadelibs-ae54b20761539fdbf16689cfa6bb8b3e5b13c251.tar.gz
elibs-ae54b20761539fdbf16689cfa6bb8b3e5b13c251.tar.bz2
nits
-rw-r--r--init.el5
-rw-r--r--lib/net/jao-notmuch-gnus.el2
2 files changed, 5 insertions, 2 deletions
diff --git a/init.el b/init.el
index 9fa96f7..c54220c 100644
--- a/init.el
+++ b/init.el
@@ -2485,8 +2485,9 @@
:lighter (:eval (format " [%s]" (jao-circe-nick-no))))
(defun jao-circe-channel-hook ()
- ;; (setq header-line-format
- ;; '(" %b" (:eval (format " - %s nicks" (jao-circe-nick-no)))))
+ (when jao-mode-line-in-minibuffer
+ (setq header-line-format
+ '(" %b" (:eval (format " - %s nicks" (jao-circe-nick-no))))))
(jao-circe-user-number-mode 1))
(add-hook 'circe-channel-mode-hook #'jao-circe-channel-hook)
diff --git a/lib/net/jao-notmuch-gnus.el b/lib/net/jao-notmuch-gnus.el
index 0789611..1a03613 100644
--- a/lib/net/jao-notmuch-gnus.el
+++ b/lib/net/jao-notmuch-gnus.el
@@ -101,6 +101,8 @@
;;; Gnus search using notmuch
+(require 'gnus-search)
+
(add-to-list 'gnus-search-expandable-keys "list")
(cl-defmethod gnus-search-transform-expression ((engine gnus-search-notmuch)