emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 8931cca135: ; * etc/NEWS: Improve wording of savehist.el's entry.


From: Eli Zaretskii
Subject: master 8931cca135: ; * etc/NEWS: Improve wording of savehist.el's entry.
Date: Tue, 15 Feb 2022 09:34:34 -0500 (EST)

branch: master
commit 8931cca1356eb85c5ebcfc5956b39a04109bbd20
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * etc/NEWS: Improve wording of savehist.el's entry.
---
 etc/NEWS | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 1b4eaca00b..1e1b574c7c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -514,9 +514,11 @@ to edit such sequences by allowing point to "enter" the 
sequence.
 * Changes in Specialized Modes and Packages in Emacs 29.1
 
 ---
-** 'savehist-additional-variables' can now specify variable lengths.
-Lists that are longer than the specified length will be truncated
-before saving.
+** 'savehist.el' can now truncate variables that are too long.
+An element of 'savehist-additional-variables' can now be of the form
+(VARIABLE . MAX-ELTS), which means to truncate the VARIABLE's value to
+at most MAX-ELTS elements (if the value is a list) before saving the
+value.
 
 ** Minibuffer and Completions
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]