]> git.eshelyaron.com Git - emacs.git/commitdiff
Note meaning on nil HIST in Fread_from_minibuffer
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Feb 2022 09:12:27 +0000 (10:12 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Feb 2022 09:12:27 +0000 (10:12 +0100)
* src/minibuf.c (Fread_from_minibuffer): Note the meaning of a nil
HIST parameter (bug#20063).

src/minibuf.c

index bab88306462eadc7cec2fcf390c65d252cf28bd9..49a474dd492a6b49f4356b37466454b36dba2968 100644 (file)
@@ -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'.