From 8be576286de4239ff145b8697c6bcbfeac527013 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen <larsi@gnus.org> Date: Sun, 20 Feb 2022 16:23:01 +0100 Subject: [PATCH] Add instructions on disabling SPC completion to Minibuffer Edit * doc/emacs/mini.texi (Minibuffer Edit): Say how to disable SPC and ? completion (bug#36745). --- doc/emacs/mini.texi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.39.5