emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master eba9e30f9a: Note meaning on nil HIST in Fread_from_minibuffer


From: Lars Ingebrigtsen
Subject: master eba9e30f9a: Note meaning on nil HIST in Fread_from_minibuffer
Date: Sun, 13 Feb 2022 04:13:44 -0500 (EST)

branch: master
commit eba9e30f9af68a657eeddedb33e30d9967ad9dbe
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Note meaning on nil HIST in Fread_from_minibuffer
    
    * src/minibuf.c (Fread_from_minibuffer): Note the meaning of a nil
    HIST parameter (bug#20063).
---
 src/minibuf.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/minibuf.c b/src/minibuf.c
index bab8830646..49a474dd49 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1292,8 +1292,9 @@ Fifth arg HIST, if non-nil, specifies a history list and 
optionally
   HISTPOS is the initial position for use by the minibuffer history
   commands.  For consistency, you should also specify that element of
   the history as the value of INITIAL-CONTENTS.  Positions are counted
-  starting from 1 at the beginning of the list.  If HIST is t, history
-  is not recorded.
+  starting from 1 at the beginning of the list.  If HIST is nil, the
+  default history list `minibuffer-history' is used.  If HIST is t,
+  history is not recorded.
 
   If `history-add-new-input' is non-nil (the default), the result will
   be added to the history list using `add-to-history'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]