diff options
| author | Stefan Monnier | 2011-03-06 16:22:16 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-03-06 16:22:16 -0500 |
| commit | 0d6459dfb52188481bfd6bb53f1b2f653ecd6a5d (patch) | |
| tree | 306b87fc2903ad23343f3c84be1cccfa72e5a97e /src/window.c | |
| parent | 798cb64441228d473f7bdd213183c70fb582595c (diff) | |
| parent | 892777baa1739fa5f1f2d1c2975488c3e6f57bae (diff) | |
| download | emacs-0d6459dfb52188481bfd6bb53f1b2f653ecd6a5d.tar.gz emacs-0d6459dfb52188481bfd6bb53f1b2f653ecd6a5d.zip | |
Merge from trunk
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 20 |
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 | ||
| 1842 | static void | 1844 | static void |
| 1843 | decode_next_window_args (Lisp_Object *window, Lisp_Object *minibuf, Lisp_Object *all_frames) | 1845 | decode_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. |
| 1975 | ALL-FRAMES t means consider all windows on all existing frames. | 1971 | ALL-FRAMES t means consider all windows on all existing frames. |
| 1976 | ALL-FRAMES `visible' means consider all windows on all visible | 1972 | ALL-FRAMES `visible' means consider all windows on all visible |
| 1977 | frames. | 1973 | frames on the current terminal. |
| 1978 | ALL-FRAMES 0 means consider all windows on all visible and | 1974 | ALL-FRAMES 0 means consider all windows on all visible and |
| 1979 | iconified frames. | 1975 | iconified frames on the current terminal. |
| 1980 | ALL-FRAMES a frame means consider all windows on that frame only. | 1976 | ALL-FRAMES a frame means consider all windows on that frame only. |
| 1981 | Anything else means consider all windows on WINDOW's frame and no | 1977 | Anything else means consider all windows on WINDOW's frame and no |
| 1982 | others. | 1978 | others. |