]> git.eshelyaron.com Git - emacs.git/commitdiff
(Text from Minibuffer): Document a list of default values for `read-from-minibuffer'.
authorJuri Linkov <juri@jurta.org>
Fri, 2 May 2008 01:03:38 +0000 (01:03 +0000)
committerJuri Linkov <juri@jurta.org>
Fri, 2 May 2008 01:03:38 +0000 (01:03 +0000)
doc/lispref/ChangeLog
doc/lispref/minibuf.texi

index 732ddd6a203e893e4b1bfb34328125ce14351d1e..17b3ede464d8f55fda23330884ab309af482b44a 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-02  Juri Linkov  <juri@jurta.org>
+
+       * minibuf.texi (Text from Minibuffer): Document a list of
+       default values for `read-from-minibuffer'.
+
 2008-04-24  Juanma Barranquero  <lekktu@gmail.com>
 
        * nonascii.texi (Translation of Characters): Fix previous change.
index 7353b57c659ed099cceb2eeb7b4dcaf402059075..a5076a2b7e4641f600c47068e64f835d1ddffcd6 100644 (file)
@@ -133,14 +133,14 @@ through the history commands.  It should be a string, a list of
 strings, or @code{nil}.  The string or strings become the minibuffer's
 ``future history,'' available to the user with @kbd{M-n}.
 
-If @var{read} is non-@code{nil}, then @var{default} is also used as
-the input to @code{read}, if the user enters empty input.  (If
-@var{read} is non-@code{nil} and @var{default} is @code{nil}, empty
-input results in an @code{end-of-file} error.)  However, in the usual
-case (where @var{read} is @code{nil}), @code{read-from-minibuffer}
-ignores @var{default} when the user enters empty input and returns an
-empty string, @code{""}.  In this respect, it differs from all the
-other minibuffer input functions in this chapter.
+If @var{read} is non-@code{nil}, then @var{default} is also used
+as the input to @code{read}, if the user enters empty input.
+If @var{default} is a list of strings, the first string is used as the input.
+If @var{default} is @code{nil}, empty input results in an @code{end-of-file} error.
+However, in the usual case (where @var{read} is @code{nil}),
+@code{read-from-minibuffer} ignores @var{default} when the user enters
+empty input and returns an empty string, @code{""}.  In this respect,
+it differs from all the other minibuffer input functions in this chapter.
 
 If @var{keymap} is non-@code{nil}, that keymap is the local keymap to
 use in the minibuffer.  If @var{keymap} is omitted or @code{nil}, the