From: Lars Ingebrigtsen Date: Sun, 13 Feb 2022 09:12:27 +0000 (+0100) Subject: Note meaning on nil HIST in Fread_from_minibuffer X-Git-Tag: emacs-29.0.90~2341 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eba9e30f9af68a657eeddedb33e30d9967ad9dbe;p=emacs.git 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). --- diff --git a/src/minibuf.c b/src/minibuf.c index bab88306462..49a474dd492 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'.