summaryrefslogtreecommitdiff
path: root/doc/emacs/mini.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-02-20 16:23:01 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-02-20 16:23:01 +0100
commit8be576286de4239ff145b8697c6bcbfeac527013 (patch)
treeb27ff8bd3baea206111dd5f17b9e6a98b3b9b4f3 /doc/emacs/mini.texi
parent5649b45323a63be27470ddf215853bf0460db6b4 (diff)
downloademacs-8be576286de4239ff145b8697c6bcbfeac527013.tar.gz
Add instructions on disabling SPC completion to Minibuffer Edit
* doc/emacs/mini.texi (Minibuffer Edit): Say how to disable SPC and ? completion (bug#36745).
Diffstat (limited to 'doc/emacs/mini.texi')
-rw-r--r--doc/emacs/mini.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi
index 979be34fac7..7c4a78a7b60 100644
--- a/doc/emacs/mini.texi
+++ b/doc/emacs/mini.texi
@@ -195,7 +195,14 @@ use the @kbd{C-o} (@code{open-line}) command (@pxref{Blank Lines}).
often bound to @dfn{completion commands}, which allow you to easily
fill in the desired text without typing all of it. @xref{Completion}.
As with @key{RET}, you can use @kbd{C-q} to insert a @key{TAB},
-@key{SPC}, or @samp{?} character.
+@key{SPC}, or @samp{?} character. If you want to make @key{SPC} and
+@key{?} insert normally instead of starting completion, you can put
+the following in your init file:
+
+@lisp
+(keymap-set minibuffer-local-completion-map "SPC" #'self-insert-command)
+(keymap-set minibuffer-local-completion-map "?" #'self-insert-command)
+@end lisp
For convenience, @kbd{C-a} (@code{move-beginning-of-line}) in a
minibuffer moves point to the beginning of the argument text, not the