# HG changeset patch # User Richard M. Stallman # Date 1100988519 0 # Node ID 0e8e74522f853cbe1c9e685f11116865a9008626 # Parent 81431dd5f1db199ca9b4f3b7a60b7449471c5908 (Text from Minibuffer): Document KEEP-ALL arg in read-from-minibuffer. diff -r 81431dd5f1db -r 0e8e74522f85 lispref/minibuf.texi --- 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}.