# HG changeset patch # User Gerd Moellmann # Date 962737261 0 # Node ID 9a141c819d48883ba94425bee44007b07521418c # Parent 79b4fa5288c3a1e524c8e0f86e131319648be8e4 *** empty log message *** diff -r 79b4fa5288c3 -r 9a141c819d48 etc/NEWS --- a/etc/NEWS Tue Jul 04 18:58:02 2000 +0000 +++ b/etc/NEWS Tue Jul 04 19:01:01 2000 +0000 @@ -1236,6 +1236,13 @@ * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, (Display-related features are described in a page of their own below.) +** The new function `window-list' has been defined + +- Function: window-list &optional WINDOW MINIBUF ALL-FRAMES + +Return a list of windows in canonical order. The parameters WINDOW, +MINIBUF and ALL-FRAMES are defined like for `next-window'. + ** There's a new function `some-window' defined as follows - Function: some-window PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT diff -r 79b4fa5288c3 -r 9a141c819d48 src/ChangeLog --- a/src/ChangeLog Tue Jul 04 18:58:02 2000 +0000 +++ b/src/ChangeLog Tue Jul 04 19:01:01 2000 +0000 @@ -5,6 +5,28 @@ 2000-07-04 Gerd Moellmann + * window.c (Vwindow_list): New variable. + (make_window, delete_window): Set Vwindow_list to nil. + (check_window_containing): New function. + (window_from_coordinates): Rewritten. + (add_window_to_list, window_list, candidate_window_p) + (decode_next_window_args, next_window): New functions. + (Fnext_window, Fprevious_window): Rewritten in terms of + next_window. + (Fwindow_list): New function. + (Fother_window): Cleaned up. + (foreach_window): Add a longer "variable argument list". Let + callback function return 0 to indicate that cycling over windows + should stop. + (foreach_window_1): Likewise. + (freeze_window_start): Return int. + (init_window): New function. + (syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list. + + * emacs.c (handle_USR1_signal, handle_USR2_signal) Clear + input_event with bzero. + (main): Call init_window. + * keymap.c (get_keyelt): Temporarily inhibit GC while evaluating a menu filter.