]> git.eshelyaron.com Git - emacs.git/commit
Enable completion-in-region-mode in minibuffer-complete-history/defaults
authorJuri Linkov <juri@linkov.net>
Wed, 15 Nov 2023 17:44:04 +0000 (19:44 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 15 Nov 2023 17:44:04 +0000 (19:44 +0200)
commit94763aa52112b4fc72ba5dfda2df558d6034fac8
tree22b42a48b51e5e3275dce1ca95531155523b99d8
parent579ea5f6e2475b880737ba157a6629ab92c1138c
Enable completion-in-region-mode in minibuffer-complete-history/defaults

* lisp/minibuffer.el (minibuffer-complete-history)
(minibuffer-complete-defaults): Let-bind completion-in-region-mode-predicate
to lambda that checks if the "*Completions*" buffer window is visible.
This enables completion-in-region-mode that supports arrows
with minibuffer-visible-completions.
lisp/minibuffer.el