summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.el b/init.el
index 603d78e..d442d95 100644
--- a/init.el
+++ b/init.el
@@ -634,7 +634,10 @@ Restart works only on graphic display."
(interactive)
(if (member "deleted" (notmuch-search-get-tags))
(notmuch-search-tag (list "-deleted"))
- (notmuch-search-tag (list "+deleted")))))
+ (progn
+ (notmuch-search-tag (list "-unread"))
+ (notmuch-search-tag (list "-new"))
+ (notmuch-search-tag (list "+deleted"))))))
(setq send-mail-function 'sendmail-send-it
notmuch-search-result-format '(("date" . "%12s ")
("count" . "%7s ")