From: Eli Zaretskii Date: Tue, 15 Feb 2022 14:33:42 +0000 (+0200) Subject: ; * etc/NEWS: Improve wording of savehist.el's entry. X-Git-Tag: emacs-29.0.90~2296^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8931cca1356eb85c5ebcfc5956b39a04109bbd20;p=emacs.git ; * etc/NEWS: Improve wording of savehist.el's entry. --- diff --git a/etc/NEWS b/etc/NEWS index 1b4eaca00b5..1e1b574c7cb 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