# Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: shields@msrl.com-20100210003434-sitwjhpd5pkg2qmx # target_branch: file:///usr/local/google/homedirs/mshields\ # /opensource/emacs/trunk/ # testament_sha1: f07ce7b3eab9e608d8dca44bb30999296cec1213 # timestamp: 2010-02-09 16:37:04 -0800 # base_revision_id: cyd@stupidchicken.com-20100209015857-\ # uwzcr43ykr0y1ugv # # Begin patch === modified file 'lisp/window.el' --- lisp/window.el 2010-01-14 18:59:31 +0000 +++ lisp/window.el 2010-02-10 00:34:34 +0000 @@ -105,11 +105,12 @@ when it is active. The optional arg ALL-FRAMES t means count windows on all frames. -If it is `visible', count windows on all visible frames. -ALL-FRAMES nil or omitted means count only the selected frame, -plus the minibuffer it uses (which may be on another frame). -ALL-FRAMES 0 means count all windows in all visible or iconified frames. -If ALL-FRAMES is anything else, count only the selected frame." +If it is `visible', count windows on all visible frames on the +current terminal. ALL-FRAMES nil or omitted means count only the +selected frame, plus the minibuffer it uses (which may be on +another frame). ALL-FRAMES 0 means count all windows in all +visible or iconified frames on the current terminal. If +ALL-FRAMES is anything else, count only the selected frame." (let ((base-window (selected-window))) (if (and nomini (eq base-window (minibuffer-window))) (setq base-window (next-window base-window))) @@ -168,9 +169,9 @@ ALL-FRAMES t means cycle through all windows on all existing frames. ALL-FRAMES `visible' means cycle through all windows on all - visible frames. + visible frames on the current terminal. ALL-FRAMES 0 means cycle through all windows on all visible and - iconified frames. + iconified frames on the current terminal. ALL-FRAMES a frame means cycle through all windows on that frame only. Anything else means cycle through all windows on WINDOW's frame @@ -1066,9 +1067,11 @@ already displayed in some window on one of these frames simply return that window. Possible values of FRAME are: -`visible' - consider windows on all visible frames. +`visible' - consider windows on all visible frames on the current +terminal. -0 - consider windows on all visible or iconified frames. +0 - consider windows on all visible or iconified frames on the +current terminal. t - consider windows on all frames. @@ -1078,7 +1081,7 @@ last non-minibuffer frame\) only. If, however, either `display-buffer-reuse-frames' or `pop-up-frames' is non-nil \(non-nil and not graphic-only on a text-only terminal), -consider all visible or iconified frames." +consider all visible or iconified frames on the current terminal." (interactive "BDisplay buffer:\nP") (let* ((can-use-selected-window ;; The selected window is usable unless either NOT-THIS-WINDOW === modified file 'src/window.c' --- src/window.c 2010-01-13 08:35:10 +0000 +++ src/window.c 2010-02-10 00:34:34 +0000 @@ -1823,8 +1823,10 @@ ALL_FRAMES t means search all frames, nil means search just current frame, - `visible' means search just visible frames, - 0 means search visible and iconified frames, + `visible' means search just visible frames on the + current terminal, + 0 means search visible and iconified frames on the + current terminal, a window means search the frame that window belongs to, a frame means consider windows on that frame, only. */ @@ -1891,8 +1893,8 @@ /* Decode arguments as allowed by Fnext_window, Fprevious_window, and - Fwindow_list. See there for the meaning of WINDOW, MINIBUF, and - ALL_FRAMES. */ + Fwindow_list. See candidate_window_p for the meaning of WINDOW, + MINIBUF, and ALL_FRAMES. */ static void decode_next_window_args (window, minibuf, all_frames) @@ -1927,12 +1929,6 @@ ; else if (!EQ (*all_frames, Qt)) *all_frames = Qnil; - - /* Now *ALL_FRAMES is t meaning search all frames, nil meaning - search just current frame, `visible' meaning search just visible - frames, 0 meaning search visible and iconified frames, or a - window, meaning search the frame that window belongs to, or a - frame, meaning consider windows on that frame, only. */ } @@ -2032,9 +2028,9 @@ windows on all frames that share that minibuffer too. ALL-FRAMES t means consider all windows on all existing frames. ALL-FRAMES `visible' means consider all windows on all visible - frames. + frames on the current terminal. ALL-FRAMES 0 means consider all windows on all visible and - iconified frames. + iconified frames on the current terminal. ALL-FRAMES a frame means consider all windows on that frame only. Anything else means consider all windows on WINDOW's frame and no others. # Begin bundle IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWRNO8IwAAttfgAA0UPf/93dn noD////wYAad9tunR06ScczUQoAV4SKU9JqbTUxMT0U/KeplPaZKbRDTQ0ek2oyZANE0p5pNqnqe ptUeoAAAAAAAAOaYmTJowmCYmmATAIYIwIwCUFCbSnqbEYmpiAGgDCAAAA5piZMmjCY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