diff options
| author | Richard M. Stallman | 2004-11-20 22:08:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-11-20 22:08:39 +0000 |
| commit | 4d19f455abd5293ce4a96a0e189203cd7766ecd1 (patch) | |
| tree | a981ec3180f6dcd64fc9fcff236c11ff0cfea0c5 | |
| parent | da34f64ebeff2f855b526b945a73e929029a2678 (diff) | |
| download | emacs-4d19f455abd5293ce4a96a0e189203cd7766ecd1.tar.gz emacs-4d19f455abd5293ce4a96a0e189203cd7766ecd1.zip | |
(Text from Minibuffer): Document KEEP-ALL arg in read-from-minibuffer.
| -rw-r--r-- | lispref/minibuf.texi | 5 |
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 | |||
| 118 | reading the arguments for a command, in the @code{interactive} | 118 | reading the arguments for a command, in the @code{interactive} |
| 119 | specification. @xref{Defining Commands}. | 119 | specification. @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 |
| 122 | This function is the most general way to get input through the | 122 | This function is the most general way to get input through the |
| 123 | minibuffer. By default, it accepts arbitrary text and returns it as a | 123 | minibuffer. By default, it accepts arbitrary text and returns it as a |
| 124 | string; however, if @var{read} is non-@code{nil}, then it uses | 124 | string; however, if @var{read} is non-@code{nil}, then it uses |
| @@ -170,6 +170,9 @@ the setting of @code{enable-multibyte-characters} (@pxref{Text | |||
| 170 | Representations}) from whichever buffer was current before entering the | 170 | Representations}) from whichever buffer was current before entering the |
| 171 | minibuffer. | 171 | minibuffer. |
| 172 | 172 | ||
| 173 | If @var{keep-all} is non-@code{nil}, even empty and duplicate inputs | ||
| 174 | are added to the history list. | ||
| 175 | |||
| 173 | Use of @var{initial-contents} is mostly deprecated; we recommend using | 176 | Use of @var{initial-contents} is mostly deprecated; we recommend using |
| 174 | a non-@code{nil} value only in conjunction with specifying a cons cell | 177 | a non-@code{nil} value only in conjunction with specifying a cons cell |
| 175 | for @var{hist}. @xref{Initial Input}. | 178 | for @var{hist}. @xref{Initial Input}. |