diff options
author | Juri Linkov <juri@linkov.net> | 2022-05-31 20:52:37 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-05-31 20:52:37 +0300 |
commit | 03b780e387e54c23ac9322e329aca6e5ab4f18e6 (patch) | |
tree | 5275730c700725b714e76d075a7aefadf7cc5e7f /lisp/emacs-lisp/helper.el | |
parent | 576d75091560119205657d8d5c27c5b862776aca (diff) | |
download | emacs-03b780e387e54c23ac9322e329aca6e5ab4f18e6.tar.gz emacs-03b780e387e54c23ac9322e329aca6e5ab4f18e6.tar.bz2 emacs-03b780e387e54c23ac9322e329aca6e5ab4f18e6.zip |
Fix handling of windows/buffers for non-nil completion-auto-select (bug#55712)
* lisp/minibuffer.el (completion--in-region-1): When completion-auto-select
is `second-tab', call switch-to-completions outside of `with-current-buffer'.
For the case of completion-auto-select customized to t,
move switch-to-completions from completion-setup-function
where it was called inside of with-current-buffer-window.
* lisp/simple.el (completion-setup-function): Move switch-to-completions
for completion-auto-select=t to completion--in-region-1 where it's
handled together with the case of `second-tab'.
(next-completion): Add check for the minibuffer to support in-buffer
inline completions.
Diffstat (limited to 'lisp/emacs-lisp/helper.el')
0 files changed, 0 insertions, 0 deletions