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

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

Re: how to get list of visible buffers of current frame


From: tyler
Subject: Re: how to get list of visible buffers of current frame
Date: Thu, 13 Nov 2008 15:40:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Michal <rabbit50@tenbit.pl> writes:

> hallo Group Members
>
> have You got idea on how to do this?
>
> best regards
> Michal
>
>
>

C-h i elisp <return> m Windows <return>
  =>

 -- Function: window-list &optional frame minibuf window
     This function returns a list of the windows on FRAME, starting
     with WINDOW.  If FRAME is `nil' or omitted, `window-list' uses the
     selected frame instead; if WINDOW is `nil' or omitted, it uses the
     selected window.

     The value of MINIBUF determines if the minibuffer window is
     included in the result list.  If MINIBUF is `t', the result always
     includes the minibuffer window.  If MINIBUF is `nil' or omitted,
     that includes the minibuffer window if it is active.  If MINIBUF
     is neither `nil' nor `t', the result never includes the minibuffer
     window.

 -- Function: window-buffer &optional window
     This function returns the buffer that WINDOW is displaying.  If
     WINDOW is omitted, this function returns the buffer for the
     selected window.

          (window-buffer)
               => #<buffer windows.texi>


-- 
Philosophy of science is about as useful to scientists as ornithology is to
birds.                                 --Richard Feynman





reply via email to

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