mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 13:44:12 +01:00
contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unread
Previously pick removed the unread tag from its tag display: since the tag change is now customisable use the customised variable. This only affected the tags displayed, not the tags in the database as notmuch-show (in the view pane) did the actual tag changes.
This commit is contained in:
parent
cec063736a
commit
dbc3a247ca
1 changed files with 2 additions and 1 deletions
|
@ -384,7 +384,8 @@ Does NOT change the database."
|
||||||
(with-current-buffer buffer
|
(with-current-buffer buffer
|
||||||
(setq notmuch-pick-message-window window)
|
(setq notmuch-pick-message-window window)
|
||||||
(add-hook 'kill-buffer-hook 'notmuch-pick-message-window-kill-hook)))
|
(add-hook 'kill-buffer-hook 'notmuch-pick-message-window-kill-hook)))
|
||||||
(notmuch-pick-tag-update-display (list "-unread"))
|
(when notmuch-show-mark-read-tags
|
||||||
|
(notmuch-pick-tag-update-display notmuch-show-mark-read-tags))
|
||||||
(setq notmuch-pick-message-buffer buffer))))
|
(setq notmuch-pick-message-buffer buffer))))
|
||||||
|
|
||||||
(defun notmuch-pick-show-message-out ()
|
(defun notmuch-pick-show-message-out ()
|
||||||
|
|
Loading…
Reference in a new issue