1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00

Add instructions on disabling SPC completion to Minibuffer Edit

* doc/emacs/mini.texi (Minibuffer Edit): Say how to disable SPC
and ? completion (bug#36745).
This commit is contained in:
Lars Ingebrigtsen 2022-02-20 16:23:01 +01:00
parent 5649b45323
commit 8be576286d

View 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