]> git.eshelyaron.com Git - emacs.git/commitdiff
Add instructions on disabling SPC completion to Minibuffer Edit
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 20 Feb 2022 15:23:01 +0000 (16:23 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 20 Feb 2022 15:23:01 +0000 (16:23 +0100)
* doc/emacs/mini.texi (Minibuffer Edit): Say how to disable SPC
and ? completion (bug#36745).

doc/emacs/mini.texi

index 979be34fac743cba5458ba5eaced1e31516ace06..7c4a78a7b60621d99938b07944df7a9ef71e3eb8 100644 (file)
@@ -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