From: Gerd Moellmann Date: Tue, 4 Jul 2000 19:01:01 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-21.0.90~2986 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87efd256ba15272c85a212039283229a10d47bc9;p=emacs.git *** empty log message *** --- diff --git a/etc/NEWS b/etc/NEWS index 1500ca83a13..7bcc7959461 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1236,6 +1236,13 @@ 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.) +** 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 --git a/src/ChangeLog b/src/ChangeLog index 8e8823cd04b..2cbbe1c5f77 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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.