emacs-devel
[Top][All Lists]
Advanced

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

RE: "Why is emacs so square?"


From: Tomas Hlavaty
Subject: RE: "Why is emacs so square?"
Date: Mon, 08 Jun 2020 07:41:42 +0200

Drew Adams <drew.adams@oracle.com> writes:
>> get-buffer-window returns one buffer or nil.  This seems wrong because a
>> buffer can be visible on many windows.
>
> (Typo - it returns one window, not one buffer.)

yes, sorry about that

>> Is there a function (or trick) which returns all windows, where a
>> specified buffer is visible?
>
> `C-h f get-buffer-window-list'
>
> (get-buffer-window-list nil nil 'visible)

great, thank you!



reply via email to

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