diff options
| author | jao <jao@gnu.org> | 2025-11-09 02:06:40 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2025-11-09 02:06:40 +0000 |
| commit | af7837b198adc312e40ecd16487c0c01ac130e05 (patch) | |
| tree | 3ea38f27428a69a062388a69fa04a7b02763c85c | |
| parent | 48a308fce37faf3a4b4f05fd8bbfb9f3cceca2e0 (diff) | |
| download | elibs-af7837b198adc312e40ecd16487c0c01ac130e05.tar.gz elibs-af7837b198adc312e40ecd16487c0c01ac130e05.tar.bz2 | |
more notmuch wee fixesmain
| -rw-r--r-- | custom/jao-custom-notmuch.el | 10 |
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) |
