summaryrefslogtreecommitdiff
path: root/doc/emacs/mini.texi
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-10-05 16:34:07 +0200
committerStefan Kangas <stefan@marxist.se>2021-10-05 16:35:40 +0200
commit63abe976ce65e42d67730d0577854867bc83e69c (patch)
treec9695279feaeaf940c596f343b563cf9d1fa6af4 /doc/emacs/mini.texi
parentb5afbedc908e97cc5094a336cc275390d618e82e (diff)
downloademacs-63abe976ce65e42d67730d0577854867bc83e69c.tar.gz
Document minibuffer-default-prompt-format in manual
* doc/emacs/mini.texi (Basic Minibuffer): Mention minibuffer-default-prompt-format. (Bug#50935)
Diffstat (limited to 'doc/emacs/mini.texi')
-rw-r--r--doc/emacs/mini.texi5
1 files changed, 4 insertions, 1 deletions
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