diff --git a/etc/NEWS b/etc/NEWS index c03b8027ce4..c65cafa3eb1 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2453,6 +2453,13 @@ This is only visually interesting if the content of those feeds are also hidden (see 'newsticker-hide-old-items-in-newsticker-buffer' and 'newsticker-show-descriptions-of-new-items')." +--- +*** New commands to hide and show headers of old newsticker feeds. +The new commands 'newsticker-hide-old-feed-header' and +'newsticker-show-old-feed-header', bound to 'h h' and 's h' keys, +respectively, hide and show the headers of feeds whose items are all old +or obsolete. + * New Modes and Packages in Emacs 31.1 diff --git a/lisp/net/newst-plainview.el b/lisp/net/newst-plainview.el index 104ce230db1..b211db8e5c8 100644 --- a/lisp/net/newst-plainview.el +++ b/lisp/net/newst-plainview.el @@ -207,13 +207,15 @@ unfolded. Otherwise old as well as new items will be folded." (defcustom newsticker-hide-old-feed-header nil - "Whether to automatically hide the header of feeds whose items are all -old or obsolete in the *newsticker* buffer. This is only visually -interesting if the content of those feeds are also hidden (see + "Whether to automatically hide the header of old feeds. +This hides the headers of feeds whose items are all old or obsolete +in the *newsticker* buffer. This is only visually interesting if +the content of those feeds are also hidden (see `newsticker-hide-old-items-in-newsticker-buffer' and `newsticker-show-descriptions-of-new-items')." :type 'boolean :set #'newsticker--set-customvar-buffer + :version "31.1" :group 'newsticker-plainview) (defcustom newsticker-show-all-news-elements