diff options
Diffstat (limited to '.emacs.local.d')
-rw-r--r-- | .emacs.local.d/modes/notmuch.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el index 5a5c9a9..c84f5a6 100644 --- a/.emacs.local.d/modes/notmuch.el +++ b/.emacs.local.d/modes/notmuch.el @@ -31,6 +31,7 @@ (notmuch-search-tag (list "+spam" "-inbox" "-unread") beg end))) ; Archive +(setq notmuch-archive-tags (list "-inbox" "+archive")) (define-key notmuch-show-mode-map "A" (lambda () "archive" @@ -40,7 +41,7 @@ (define-key notmuch-search-mode-map "A" (lambda (&optional beg end) - "mark thread as spam" + "archive thread" (interactive (notmuch-search-interactive-region)) (notmuch-search-tag (list "+archive" "-inbox" "-unread") beg end) (notmuch-refresh-this-buffer))) |