summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)