summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--custom/jao-custom-notmuch.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el
index f32094f..a4f486f 100644
--- a/custom/jao-custom-notmuch.el
+++ b/custom/jao-custom-notmuch.el
@@ -103,8 +103,8 @@
(defun jao-notmuch-add-saved-searches (searches)
(dolist (s searches)
- (jao-notmuch--replace 'notmuch-saved-searches s)
- (jao-notmuch--replace 'jao-notmuch-widened-searches s)))
+ (jao-notmuch--replace 'jao-notmuch-widened-searches (jao-notmuch--widen s))
+ (jao-notmuch--replace 'notmuch-saved-searches s)))
(defmacro jao-notmuch-def-searches (name searches &optional no-save)
(declare (indent 1))
@@ -118,7 +118,9 @@
(defvar jao-notmuch-widened-searches nil)
-(setq notmuch-hello-sections nil notmuch-saved-searches nil)
+(setq notmuch-hello-sections nil
+ notmuch-saved-searches nil
+ jao-notmuch-widened-searches nil)
(jao-notmuch-def-searches inbox
`(,(jao-notmuch--q "inbox" "i")
@@ -290,7 +292,7 @@
(when (display-graphic-p)
(add-to-list 'notmuch-hello-sections 'jao-notmuch-hello--header))
-(add-to-list 'notmuch-hello-sections 'notmuch-hello-insert-alltags t)
+;; (add-to-list 'notmuch-hello-sections 'notmuch-hello-insert-alltags t)
(defun jao-notmuch-refresh-agenda ()
(interactive)