bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47699: [PATCH] Improve completion-list-mode-map


From: Eli Zaretskii
Subject: bug#47699: [PATCH] Improve completion-list-mode-map
Date: Sun, 11 Apr 2021 16:31:10 +0300

> Date: Sun, 11 Apr 2021 10:50:15 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: 47699@debbugs.gnu.org
> 
> In practice other-window works well there, but now that you mention it, I 
> agree with you that it's not safe enough.  What about:
> 
> (defun switch-to-minibuffer ()
>    "Select the minibuffer window."
>    (interactive)
>    (when (active-minibuffer-window)
>      (select-window (active-minibuffer-window))))

LGTM, thanks.  Did you test this with minibuffer-only frames?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]