From: Lars Ingebrigtsen Date: Fri, 20 Aug 2021 15:00:10 +0000 (+0200) Subject: Document how to get rid of completion on `SPC' and `?' X-Git-Tag: emacs-28.0.90~1412 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b2b9f69b9db7fdedfa90764beced74a7831f50de;p=emacs.git 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). --- diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 999234e6d33..9b906560498 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