diff options
author | Raúl Benencia <id@rbenencia.name> | 2023-03-06 08:09:59 -0800 |
---|---|---|
committer | Raúl Benencia <id@rbenencia.name> | 2023-03-06 08:09:59 -0800 |
commit | fd975588378ef9de890505ac192c765b03dd5f86 (patch) | |
tree | 7b5038e5d7a73913d1b0316bad84c75a93a0e557 /.emacs.local.d | |
parent | d319db5ecd929af25a842848e3a293bc063e5ca3 (diff) |
emacs: fix notmuch archive tags
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))) |