diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-07-03 09:18:48 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-07-03 09:18:48 +0000 |
commit | 67c9a1d26efc40aca38419e38522d9690c6ab822 (patch) | |
tree | d47b5c7e1504cc5adaaf16267ad5407ad5f5eb2b /etc | |
parent | d4aff7ccfcc3ca0950ad829bf00e4ecd216d4201 (diff) | |
download | emacs-67c9a1d26efc40aca38419e38522d9690c6ab822.tar.gz |
*** empty log message ***
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -1238,6 +1238,38 @@ functionality with aliases for the mldrag functions. * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, (Display-related features are described in a page of their own below.) +** There's a new function `some-window' defined as follows + +- Function: some-window PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT + +Return a window satisfying PREDICATE. + +This function cycles through all visible windows using `walk-windows', +calling PREDICATE on each one. PREDICATE is called with a window as +argument. The first window for which PREDICATE returns a non-nil +value is returned. If no window satisfies PREDICATE, DEFAULT is +returned. + +Optional second arg MINIBUF t means count the minibuffer window even +if not active. MINIBUF nil or omitted means count the minibuffer iff +it is active. MINIBUF neither t nor nil means not to count the +minibuffer even if it is active. + +Several frames may share a single minibuffer; if the minibuffer +counts, all windows on all frames that share that minibuffer count +too. Therefore, if you are using a separate minibuffer frame +and the minibuffer is active and MINIBUF says it counts, +`walk-windows' includes the windows in the frame from which you +entered the minibuffer, as well as the minibuffer window. + +ALL-FRAMES is the optional third argument. +ALL-FRAMES nil or omitted means cycle within the frames as specified above. +ALL-FRAMES = `visible' means include windows on all visible frames. +ALL-FRAMES = 0 means include windows on all visible and iconified frames. +ALL-FRAMES = t means include windows on all frames including invisible frames. +If ALL-FRAMES is a frame, it means include windows on that frame. +Anything else means restrict to the selected frame. + ** The function `single-key-description' now encloses function key and event names in ange brackets. |