summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-02-13 10:12:27 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-02-13 10:12:27 +0100
commiteba9e30f9af68a657eeddedb33e30d9967ad9dbe (patch)
tree17c8d5a4349bb4c4f53ee5c90f337f749a325569 /src/minibuf.c
parent9a4cc857aa0f04b353990be6fc968c6dc765399c (diff)
downloademacs-eba9e30f9af68a657eeddedb33e30d9967ad9dbe.tar.gz
emacs-eba9e30f9af68a657eeddedb33e30d9967ad9dbe.tar.bz2
emacs-eba9e30f9af68a657eeddedb33e30d9967ad9dbe.zip
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).
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c5
1 files changed, 3 insertions, 2 deletions
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'.