Elfeed: Remove 'unread tag when visiting externally

master
Pierre Neidhardt 2018-06-28 18:53:39 +02:00
parent 6d759c70c2
commit d9631a1338
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ visit otherwise."
(setq patterns (cdr patterns))) (setq patterns (cdr patterns)))
(cond (cond
(patterns (patterns
(elfeed-untag entry 'unread)
(elfeed-search-update-entry entry)
(funcall (cdar patterns))) (funcall (cdar patterns)))
((eq major-mode 'elfeed-search-mode) ((eq major-mode 'elfeed-search-mode)
(call-interactively 'elfeed-search-show-entry)) (call-interactively 'elfeed-search-show-entry))