From: Eli Zaretskii Date: Tue, 3 Apr 2018 11:30:54 +0000 (+0300) Subject: Document custom-variable-history X-Git-Tag: emacs-27.0.90~5340 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d88fed61f0d65a4231fa987ba12e3df55de31974;p=emacs.git Document custom-variable-history * etc/NEWS: * doc/lispref/minibuf.texi (Minibuffer History): Document 'custom-variable-history'. --- diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 1d1c93dd144..338e03ef74d 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi @@ -634,6 +634,12 @@ A history list for arguments that are Lisp expressions to evaluate. A history list for arguments that are faces. @end defvar +@findex read-variable@r{, history list} +@defvar custom-variable-history +A history list for variable-name arguments read by +@code{read-variable}. +@end defvar + @c Less common: coding-system-history, input-method-history, @c command-history, grep-history, grep-find-history, @c read-envvar-name-history, setenv-history, yes-or-no-p-history. diff --git a/etc/NEWS b/etc/NEWS index b3fee089fa9..a510c03956a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -474,6 +474,11 @@ depending on the new customizable variable 'read-answer-short'. Specifically, it puts the module name into 'load-history', prints loading messages if requested, and protects against recursive loads. ++++ +** The function 'read-variable' now uses its own history list. +The history of variable names read by 'read-variable' is recorded in +the new variable 'custom-variable-history'. + * Changes in Emacs 27.1 on Non-Free Operating Systems