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

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

RE: Checking if frame has only one visible buffer


From: Drew Adams
Subject: RE: Checking if frame has only one visible buffer
Date: Sat, 21 Nov 2020 14:29:32 -0800 (PST)

> Am writing some elisp code and want to check if there is just one
> visible buffer in frame.

Does `one-window-p' do what you want?
___

For discovery purposes (and other understanding),
it helps to assimilate the Emacs jargon.  A buffer
need not be displayed.  If displayed, it's shown
in a window.  And a window is in a frame.

If you know you're looking for a function that
involves windows, then `M-x apropos window' will
help.  If you're thinking of a buffer then it
won't help you find `one-window-p'.



reply via email to

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