X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/a113b3ca322fd73d97d0d9d69c9f48dc13fb326a..7cb709744177ca951a349fcbd9cc71963b637c91:/doc/lispref/minibuf.texi diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 7353b57c65..a5076a2b7e 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi @@ -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