diff options
| author | Lars Ingebrigtsen | 2022-02-13 10:12:27 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-02-13 10:12:27 +0100 |
| commit | eba9e30f9af68a657eeddedb33e30d9967ad9dbe (patch) | |
| tree | 17c8d5a4349bb4c4f53ee5c90f337f749a325569 | |
| parent | 9a4cc857aa0f04b353990be6fc968c6dc765399c (diff) | |
| download | emacs-eba9e30f9af68a657eeddedb33e30d9967ad9dbe.tar.gz 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).
| -rw-r--r-- | src/minibuf.c | 5 |
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 | |||
| 1292 | HISTPOS is the initial position for use by the minibuffer history | 1292 | HISTPOS is the initial position for use by the minibuffer history |
| 1293 | commands. For consistency, you should also specify that element of | 1293 | commands. For consistency, you should also specify that element of |
| 1294 | the history as the value of INITIAL-CONTENTS. Positions are counted | 1294 | the history as the value of INITIAL-CONTENTS. Positions are counted |
| 1295 | starting from 1 at the beginning of the list. If HIST is t, history | 1295 | starting from 1 at the beginning of the list. If HIST is nil, the |
| 1296 | is not recorded. | 1296 | default history list `minibuffer-history' is used. If HIST is t, |
| 1297 | history is not recorded. | ||
| 1297 | 1298 | ||
| 1298 | If `history-add-new-input' is non-nil (the default), the result will | 1299 | If `history-add-new-input' is non-nil (the default), the result will |
| 1299 | be added to the history list using `add-to-history'. | 1300 | be added to the history list using `add-to-history'. |