[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!
Re: "Why is emacs so square?", Tomas Hlavaty, 2020/06/05
Re: "Why is emacs so square?", Richard Stallman, 2020/06/07
Re: "Why is emacs so square?", Ricardo Wurmus, 2020/06/16