From 8931cca1356eb85c5ebcfc5956b39a04109bbd20 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 15 Feb 2022 16:33:42 +0200 Subject: [PATCH] ; * 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 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 -- 2.39.5