From: Stefan Kangas Date: Tue, 5 Oct 2021 14:34:07 +0000 (+0200) Subject: Document minibuffer-default-prompt-format in manual X-Git-Tag: emacs-28.0.90~393 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=63abe976ce;p=emacs.git Document minibuffer-default-prompt-format in manual * doc/emacs/mini.texi (Basic Minibuffer): Mention minibuffer-default-prompt-format. (Bug#50935) --- diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi index 6dcee3fa824..b0f6e424a7f 100644 --- a/doc/emacs/mini.texi +++ b/doc/emacs/mini.texi @@ -41,11 +41,14 @@ Alternatively, you can type @kbd{C-g} to exit the minibuffer by canceling the command asking for the argument (@pxref{Quitting}). @cindex default argument +@vindex minibuffer-default-prompt-format Sometimes, the prompt shows a @dfn{default argument}, inside parentheses before the colon. This default will be used as the argument if you just type @key{RET}. For example, commands that read buffer names usually show a buffer name as the default; you can type -@key{RET} to operate on that default buffer. +@key{RET} to operate on that default buffer. You can customize how +the default argument is shown with the user option +@code{minibuffer-default-prompt-format}. @cindex Minibuffer Electric Default mode @cindex mode, Minibuffer Electric Default