emacs-devel
[Top][All Lists]
Advanced

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

Re: New multi-command facility displays in the wrong echo area.


From: Stefan Monnier
Subject: Re: New multi-command facility displays in the wrong echo area.
Date: Wed, 14 Oct 2020 18:51:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> (or (eq (window-frame) (window-frame (active-minibuffer-window)))
>     (eq (frame-parameter (window-frame (active-minibuffer-window)) 
> 'minibuffer) 'only)))

I think it would be cleaner (i.e. better express the intent) if it was
written something like

    (eq (mini-window-of (selected-frame))
        (active-minibuffer-window))

which may require writing `mini-window-of` first (and choosing a better
name for it along the way).


        Stefan




reply via email to

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