Document custom-variable-history

* etc/NEWS:
* doc/lispref/minibuf.texi (Minibuffer History): Document
'custom-variable-history'.
This commit is contained in:
Eli Zaretskii 2018-04-03 14:30:54 +03:00
parent 3cf4c8d9eb
commit d88fed61f0
2 changed files with 11 additions and 0 deletions

View file

@ -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.

View file

@ -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