summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-04-19 08:20:50 +0200
committerStefan Monnier <monnier@iro.umontreal.ca>2021-04-19 14:25:32 -0400
commit077dae3b4ca6a534a0c8061f7b5cf81639e39c3b (patch)
tree2547f481dc65027efd75d90683672be7c2d7dc4b /src/minibuf.c
parent0a4dc70830f5e8286b47120cabc750cca07a75c1 (diff)
downloademacs-077dae3b4ca6a534a0c8061f7b5cf81639e39c3b.tar.gz
completing-read: If HIST is the symbol `t', history is not recorded.
* lisp/minibuffer.el (completion-all-sorted-completions): Check if `minibuffer-history-variable` is `t` * src/minibuf.c (completing-read): Update docstring * doc/lispref/minibuf.texi: Update documentation of `read-from-minibuffer` and `completing-read`
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index a3c1b99bf32..f0258172766 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -2023,7 +2023,8 @@ HIST, if non-nil, specifies a history list and optionally the initial
(This is the only case in which you should use INITIAL-INPUT instead
of DEF.) Positions are counted starting from 1 at the beginning of
the list. The variable `history-length' controls the maximum length
- of a history list.
+ of a history list. If HIST is the symbol `t', history is not
+ recorded.
DEF, if non-nil, is the default value or the list of default values.