From 29c287a8c31bebe9dd40b499415511c96a1ef6fa Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 30 Mar 2022 18:14:56 -0500 Subject: I waited way too long to make this commit --- lisp/+elfeed.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lisp/+elfeed.el') diff --git a/lisp/+elfeed.el b/lisp/+elfeed.el index 8f7f17a..7f9e193 100644 --- a/lisp/+elfeed.el +++ b/lisp/+elfeed.el @@ -31,6 +31,14 @@ (interactive) (elfeed-show-visit t)) +(defun +elfeed-show-mark-read-and-advance () + "Mark an item as read and advance to the next item. +If multiple items are selected, don't advance." + (interactive) + (call-interactively #'elfeed-search-untag-all-unread) + (unless (region-active-p) + (call-interactively #'next-line))) + ;;; Fetch feeds async ;; https://github.com/skeeto/elfeed/issues/367 -- cgit 1.4.1-21-gabe81