aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorStefan Monnier2011-03-06 16:22:16 -0500
committerStefan Monnier2011-03-06 16:22:16 -0500
commit0d6459dfb52188481bfd6bb53f1b2f653ecd6a5d (patch)
tree306b87fc2903ad23343f3c84be1cccfa72e5a97e /src/window.c
parent798cb64441228d473f7bdd213183c70fb582595c (diff)
parent892777baa1739fa5f1f2d1c2975488c3e6f57bae (diff)
downloademacs-0d6459dfb52188481bfd6bb53f1b2f653ecd6a5d.tar.gz
emacs-0d6459dfb52188481bfd6bb53f1b2f653ecd6a5d.zip
Merge from trunk
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/window.c b/src/window.c
index f0555d5c961..9a0955955fa 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1769,8 +1769,10 @@ window_list (void)
1769 1769
1770 ALL_FRAMES t means search all frames, 1770 ALL_FRAMES t means search all frames,
1771 nil means search just current frame, 1771 nil means search just current frame,
1772 `visible' means search just visible frames, 1772 `visible' means search just visible frames on the
1773 0 means search visible and iconified frames, 1773 current terminal,
1774 0 means search visible and iconified frames on the
1775 current terminal,
1774 a window means search the frame that window belongs to, 1776 a window means search the frame that window belongs to,
1775 a frame means consider windows on that frame, only. */ 1777 a frame means consider windows on that frame, only. */
1776 1778
@@ -1836,8 +1838,8 @@ candidate_window_p (Lisp_Object window, Lisp_Object owindow, Lisp_Object minibuf
1836 1838
1837 1839
1838/* Decode arguments as allowed by Fnext_window, Fprevious_window, and 1840/* Decode arguments as allowed by Fnext_window, Fprevious_window, and
1839 Fwindow_list. See there for the meaning of WINDOW, MINIBUF, and 1841 Fwindow_list. See candidate_window_p for the meaning of WINDOW,
1840 ALL_FRAMES. */ 1842 MINIBUF, and ALL_FRAMES. */
1841 1843
1842static void 1844static void
1843decode_next_window_args (Lisp_Object *window, Lisp_Object *minibuf, Lisp_Object *all_frames) 1845decode_next_window_args (Lisp_Object *window, Lisp_Object *minibuf, Lisp_Object *all_frames)
@@ -1871,12 +1873,6 @@ decode_next_window_args (Lisp_Object *window, Lisp_Object *minibuf, Lisp_Object
1871 ; 1873 ;
1872 else if (!EQ (*all_frames, Qt)) 1874 else if (!EQ (*all_frames, Qt))
1873 *all_frames = Qnil; 1875 *all_frames = Qnil;
1874
1875 /* Now *ALL_FRAMES is t meaning search all frames, nil meaning
1876 search just current frame, `visible' meaning search just visible
1877 frames, 0 meaning search visible and iconified frames, or a
1878 window, meaning search the frame that window belongs to, or a
1879 frame, meaning consider windows on that frame, only. */
1880} 1876}
1881 1877
1882 1878
@@ -1974,9 +1970,9 @@ ALL-FRAMES nil or omitted means consider all windows on WINDOW's
1974 windows on all frames that share that minibuffer too. 1970 windows on all frames that share that minibuffer too.
1975ALL-FRAMES t means consider all windows on all existing frames. 1971ALL-FRAMES t means consider all windows on all existing frames.
1976ALL-FRAMES `visible' means consider all windows on all visible 1972ALL-FRAMES `visible' means consider all windows on all visible
1977 frames. 1973 frames on the current terminal.
1978ALL-FRAMES 0 means consider all windows on all visible and 1974ALL-FRAMES 0 means consider all windows on all visible and
1979 iconified frames. 1975 iconified frames on the current terminal.
1980ALL-FRAMES a frame means consider all windows on that frame only. 1976ALL-FRAMES a frame means consider all windows on that frame only.
1981Anything else means consider all windows on WINDOW's frame and no 1977Anything else means consider all windows on WINDOW's frame and no
1982 others. 1978 others.