]> git.eshelyaron.com Git - emacs.git/commit
Enable keys M-down, M-up, M-RET for in-buffer completion
authorJuri Linkov <juri@linkov.net>
Sun, 22 May 2022 17:55:35 +0000 (20:55 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 22 May 2022 17:55:35 +0000 (20:55 +0300)
commitb2a5bf142fb25094ff623dc93d2ce916aee3d971
tree208403e4628c7149f48ca9fa4e648cd600d6847b
parent2f68673a712508f70de20f485422c7e01b8ab21b
Enable keys M-down, M-up, M-RET for in-buffer completion

* lisp/minibuffer.el (completion-in-region-mode-map): Add keybindings M-<up>
for minibuffer-previous-completion, M-<down> for minibuffer-next-completion,
M-RET for minibuffer-choose-completion.
(completion-in-region-mode): Set buffer-local
'minibuffer-completion-auto-choose' to nil.
(minibuffer-next-completion): Get the value of
'minibuffer-completion-auto-choose' from the minibuffer.
(minibuffer-previous-completion): Simplify by delegating to
'minibuffer-next-completion'.

* doc/emacs/programs.texi (Symbol Completion): Add description of keys
M-down, M-up, M-RET.

https://lists.gnu.org/archive/html/emacs-devel/2022-05/msg00916.html
doc/emacs/programs.texi
etc/NEWS
lisp/minibuffer.el