1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

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).
This commit is contained in:
Lars Ingebrigtsen 2021-08-20 17:00:10 +02:00
parent ac2cecbd83
commit b2b9f69b9d

View File

@ -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