[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b2b9f69: Document how to get rid of completion on `SPC' and `?'
From: |
Lars Ingebrigtsen |
Subject: |
master b2b9f69: Document how to get rid of completion on `SPC' and `?' |
Date: |
Fri, 20 Aug 2021 11:00:18 -0400 (EDT) |
branch: master
commit b2b9f69b9db7fdedfa90764beced74a7831f50de
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Document how to get rid of completion on `SPC' and `?'
* doc/emacs/custom.texi (Minibuffer Maps): Mention how to get rid
of completion on `SPC' and `?' (bug#16528).
---
doc/emacs/custom.texi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 999234e..9b90656 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -1721,6 +1721,17 @@ previous ones, but they are specifically for file name
completion.
They do not bind @key{SPC}.
@end itemize
+By default, @key{TAB}, @key{SPC} and @key{?} do completion in
+@code{minibuffer-local-completion-map}. If you commonly complete over
+collections that have elements that have space or question marks in
+them, it may be convenient to disable completion on those keys by
+putting this in your init file:
+
+@lisp
+(define-key minibuffer-local-completion-map " " 'self-insert-command)
+(define-key minibuffer-local-completion-map "?" 'self-insert-command)
+@end lisp
+
@node Rebinding
@subsection Changing Key Bindings Interactively
@cindex key rebinding, this session
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b2b9f69: Document how to get rid of completion on `SPC' and `?',
Lars Ingebrigtsen <=