aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-07-27 08:07:35 +0300
committerEli Zaretskii2025-07-27 08:07:35 +0300
commitb46bbf89adf54b14904f31616b3a33d21a88fa97 (patch)
tree629a45a351253c27a858dd1d83334463b84f1e82
parent67f36e80ceca7e1a96b635d4caa0027b9fcf8c0b (diff)
downloademacs-b46bbf89adf54b14904f31616b3a33d21a88fa97.tar.gz
emacs-b46bbf89adf54b14904f31616b3a33d21a88fa97.zip
; Fix last change
* etc/NEWS: Announce new newsticker commands. * lisp/net/newst-plainview.el (newsticker-hide-old-feed-header): Doc fix. Add :version tag. (Bug#78305)
-rw-r--r--etc/NEWS7
-rw-r--r--lisp/net/newst-plainview.el8
2 files changed, 12 insertions, 3 deletions
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
2453hidden (see 'newsticker-hide-old-items-in-newsticker-buffer' and 2453hidden (see 'newsticker-hide-old-items-in-newsticker-buffer' and
2454'newsticker-show-descriptions-of-new-items')." 2454'newsticker-show-descriptions-of-new-items')."
2455 2455
2456---
2457*** New commands to hide and show headers of old newsticker feeds.
2458The new commands 'newsticker-hide-old-feed-header' and
2459'newsticker-show-old-feed-header', bound to 'h h' and 's h' keys,
2460respectively, hide and show the headers of feeds whose items are all old
2461or obsolete.
2462
2456 2463
2457* New Modes and Packages in Emacs 31.1 2464* New Modes and Packages in Emacs 31.1
2458 2465
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."
207 207
208(defcustom newsticker-hide-old-feed-header 208(defcustom newsticker-hide-old-feed-header
209 nil 209 nil
210 "Whether to automatically hide the header of feeds whose items are all 210 "Whether to automatically hide the header of old feeds.
211old or obsolete in the *newsticker* buffer. This is only visually 211This hides the headers of feeds whose items are all old or obsolete
212interesting if the content of those feeds are also hidden (see 212in the *newsticker* buffer. This is only visually interesting if
213the content of those feeds are also hidden (see
213`newsticker-hide-old-items-in-newsticker-buffer' and 214`newsticker-hide-old-items-in-newsticker-buffer' and
214`newsticker-show-descriptions-of-new-items')." 215`newsticker-show-descriptions-of-new-items')."
215 :type 'boolean 216 :type 'boolean
216 :set #'newsticker--set-customvar-buffer 217 :set #'newsticker--set-customvar-buffer
218 :version "31.1"
217 :group 'newsticker-plainview) 219 :group 'newsticker-plainview)
218 220
219(defcustom newsticker-show-all-news-elements 221(defcustom newsticker-show-all-news-elements