branch: externals/mct commit 9dd3edf19d06da11ea5068f9bf8be8106a145d94 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Fix regression in key bindings It was caused by commit 54c3ea6. Thanks to José Antonio Ortega Ruiz for reporting the issue: <https://gitlab.com/protesilaos/mct/-/commit/54c3ea65c5bfaabba561c8dfff5e438f41c166b9#note_797019715>. And thanks to Daniel Mendler for providing an explanation as to why "C-RET" is problematic: <https://gitlab.com/protesilaos/mct/-/commit/54c3ea65c5bfaabba561c8dfff5e438f41c166b9#note_797063627>. --- mct.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mct.el b/mct.el index 7e7b38e87c..0b1ec980f1 100644 --- a/mct.el +++ b/mct.el @@ -998,7 +998,7 @@ region.") (define-key map [remap previous-line] #'mct-switch-to-completions-bottom) (define-key map [remap previous-line-or-history-element] #'mct-switch-to-completions-bottom) (define-key map (kbd "M-e") #'mct-edit-completion) - (define-key map (kbd "C-RET") #'mct-complete-and-exit) + (define-key map (kbd "C-<return>") #'mct-complete-and-exit) (define-key map (kbd "C-l") #'mct-list-completions-toggle) map) "Derivative of `minibuffer-local-completion-map'.")