]> git.eshelyaron.com Git - emacs.git/commitdiff
; * etc/NEWS: Improve wording of savehist.el's entry.
authorEli Zaretskii <eliz@gnu.org>
Tue, 15 Feb 2022 14:33:42 +0000 (16:33 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 15 Feb 2022 14:33:42 +0000 (16:33 +0200)
etc/NEWS

index 1b4eaca00b58976c9ed05d1e6747f1c25f99cca2..1e1b574c7cba0140090dd9a59046aa5f96fda4d2 100644 (file)
--- 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