Mercurial > emacs
changeset 58360:0e8e74522f85
(Text from Minibuffer): Document KEEP-ALL arg in read-from-minibuffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 20 Nov 2004 22:08:39 +0000 |
parents | 81431dd5f1db |
children | 726c49e05ed9 |
files | lispref/minibuf.texi |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/minibuf.texi Sat Nov 20 22:04:11 2004 +0000 +++ b/lispref/minibuf.texi Sat Nov 20 22:08:39 2004 +0000 @@ -118,7 +118,7 @@ reading the arguments for a command, in the @code{interactive} specification. @xref{Defining Commands}. -@defun read-from-minibuffer prompt-string &optional initial-contents keymap read hist default inherit-input-method +@defun read-from-minibuffer prompt-string &optional initial-contents keymap read hist default inherit-input-method keep-all This function is the most general way to get input through the minibuffer. By default, it accepts arbitrary text and returns it as a string; however, if @var{read} is non-@code{nil}, then it uses @@ -170,6 +170,9 @@ Representations}) from whichever buffer was current before entering the minibuffer. +If @var{keep-all} is non-@code{nil}, even empty and duplicate inputs +are added to the history list. + Use of @var{initial-contents} is mostly deprecated; we recommend using a non-@code{nil} value only in conjunction with specifying a cons cell for @var{hist}. @xref{Initial Input}.