diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-26 15:21:28 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-26 15:21:28 +0200 |
commit | 015cf7824ea511180329dabcb67c533661da3fff (patch) | |
tree | 8dee93d01eab4ae2574ba77f24abedf2c71e19df /lisp/minibuffer.el | |
parent | a1384cd65d2f9dbb702b31fdfe06d7b8643ef978 (diff) | |
download | emacs-015cf7824ea511180329dabcb67c533661da3fff.tar.gz emacs-015cf7824ea511180329dabcb67c533661da3fff.tar.bz2 emacs-015cf7824ea511180329dabcb67c533661da3fff.zip |
Don't bind `M-X' when doing general completion
* lisp/minibuffer.el (minibuffer-local-must-match-map): Remove the
M-X binding here, because it's nonsensical outside
read-extended-command (bug#56741).
* lisp/simple.el (read-extended-command-mode-map)
(read-extended-command-mode): New minor mode to bind `M-X' in
read-extended-command.
(read-extended-command-1): Use it.
Diffstat (limited to 'lisp/minibuffer.el')
-rw-r--r-- | lisp/minibuffer.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index d139e094eb2..bdf6d852a95 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -2760,7 +2760,6 @@ The completion method is determined by `completion-at-point-functions'." (defvar-keymap minibuffer-local-must-match-map :doc "Local keymap for minibuffer input with completion, for exact match." :parent minibuffer-local-completion-map - "M-X" #'execute-extended-command-cycle "RET" #'minibuffer-complete-and-exit "C-j" #'minibuffer-complete-and-exit) |