emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 8be576286d: Add instructions on disabling SPC completion to Minib


From: Lars Ingebrigtsen
Subject: master 8be576286d: Add instructions on disabling SPC completion to Minibuffer Edit
Date: Sun, 20 Feb 2022 10:23:27 -0500 (EST)

branch: master
commit 8be576286de4239ff145b8697c6bcbfeac527013
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 979be34fac..7c4a78a7b6 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]