From d88fed61f0d65a4231fa987ba12e3df55de31974 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 3 Apr 2018 14:30:54 +0300 Subject: [PATCH] Document custom-variable-history * etc/NEWS: * doc/lispref/minibuf.texi (Minibuffer History): Document 'custom-variable-history'. --- doc/lispref/minibuf.texi | 6 ++++++ etc/NEWS | 5 +++++ 2 files changed, 11 insertions(+) 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 -- 2.39.2