summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-05-30 02:47:46 -0400
committerKyle Meyer <kyle@kyleam.com>2015-05-30 02:47:46 -0400
commit6e317ca15c1608b007df0fc216ed778098b9cca6 (patch)
tree93689014497a4f3d859fa3f758a03fbbef2909ee
parent5f0b0e6b0c5a84d22d6225b4a5a79c6e43a7b2f3 (diff)
downloademacs.d-6e317ca15c1608b007df0fc216ed778098b9cca6.tar.gz
Add today to notmuch-saved-searches
-rw-r--r--lisp/init-mail.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-mail.el b/lisp/init-mail.el
index 9bcb3c3..e385e82 100644
--- a/lisp/init-mail.el
+++ b/lisp/init-mail.el
@@ -297,6 +297,9 @@ has an effect if Gnus is not currently open."
(setq notmuch-fcc-dirs nil
notmuch-search-oldest-first nil)
+(add-to-list 'notmuch-saved-searches
+ '(:name "today" :query "date:today.." :key "."))
+
(add-hook 'km/org-store-link-hook 'km/gnus-goto-message-in-notmuch)
(defun km/notmuch-file-to-group (file)