From: Lars Ingebrigtsen Date: Sun, 20 Feb 2022 15:23:01 +0000 (+0100) Subject: Add instructions on disabling SPC completion to Minibuffer Edit X-Git-Tag: emacs-29.0.90~2199 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8be576286de4239ff145b8697c6bcbfeac527013;p=emacs.git Add instructions on disabling SPC completion to Minibuffer Edit * doc/emacs/mini.texi (Minibuffer Edit): Say how to disable SPC and ? completion (bug#36745). --- 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