aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/minibuf.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index 3ac750d76a1..1455c63fe34 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -118,7 +118,7 @@ middle of a Lisp function. Instead, do all minibuffer input as part of
118reading the arguments for a command, in the @code{interactive} 118reading the arguments for a command, in the @code{interactive}
119specification. @xref{Defining Commands}. 119specification. @xref{Defining Commands}.
120 120
121@defun read-from-minibuffer prompt-string &optional initial-contents keymap read hist default inherit-input-method 121@defun read-from-minibuffer prompt-string &optional initial-contents keymap read hist default inherit-input-method keep-all
122This function is the most general way to get input through the 122This function is the most general way to get input through the
123minibuffer. By default, it accepts arbitrary text and returns it as a 123minibuffer. By default, it accepts arbitrary text and returns it as a
124string; however, if @var{read} is non-@code{nil}, then it uses 124string; however, if @var{read} is non-@code{nil}, then it uses
@@ -170,6 +170,9 @@ the setting of @code{enable-multibyte-characters} (@pxref{Text
170Representations}) from whichever buffer was current before entering the 170Representations}) from whichever buffer was current before entering the
171minibuffer. 171minibuffer.
172 172
173If @var{keep-all} is non-@code{nil}, even empty and duplicate inputs
174are added to the history list.
175
173Use of @var{initial-contents} is mostly deprecated; we recommend using 176Use of @var{initial-contents} is mostly deprecated; we recommend using
174a non-@code{nil} value only in conjunction with specifying a cons cell 177a non-@code{nil} value only in conjunction with specifying a cons cell
175for @var{hist}. @xref{Initial Input}. 178for @var{hist}. @xref{Initial Input}.