diff options
| author | Paul Eggert | 2011-10-27 11:20:24 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-10-27 11:20:24 -0700 |
| commit | 929bb973dd3faf1655f03ac758942d5b009354ad (patch) | |
| tree | 56f50bd1940eae6c9aafc5a719584a355818dcbe /src/window.c | |
| parent | dde1458174882077ca799d03f0adea91286650a3 (diff) | |
| parent | 87e68db4734d89bab693744ad210560da0c20a87 (diff) | |
| download | emacs-929bb973dd3faf1655f03ac758942d5b009354ad.tar.gz emacs-929bb973dd3faf1655f03ac758942d5b009354ad.zip | |
Merge from trunk.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/window.c b/src/window.c index 389d03fc9fd..dfaef1854a4 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -175,10 +175,10 @@ WINDOW can be any window and defaults to the selected one. */) | |||
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | DEFUN ("frame-root-window", Fframe_root_window, Sframe_root_window, 0, 1, 0, | 177 | DEFUN ("frame-root-window", Fframe_root_window, Sframe_root_window, 0, 1, 0, |
| 178 | doc: /* Return the root window of FRAME_OR_WINDOW. | 178 | doc: /* Return the root window of FRAME-OR-WINDOW. |
| 179 | If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. | 179 | If omitted, FRAME-OR-WINDOW defaults to the currently selected frame. |
| 180 | Else if FRAME_OR_WINDOW denotes any window, return the root window of | 180 | Else if FRAME-OR-WINDOW denotes any window, return the root window of |
| 181 | that window's frame. If FRAME_OR_WINDOW denotes a live frame, return | 181 | that window's frame. If FRAME-OR-WINDOW denotes a live frame, return |
| 182 | the root window of that frame. */) | 182 | the root window of that frame. */) |
| 183 | (Lisp_Object frame_or_window) | 183 | (Lisp_Object frame_or_window) |
| 184 | { | 184 | { |
| @@ -220,10 +220,10 @@ WINDOW can be any window and defaults to the selected one. */) | |||
| 220 | 220 | ||
| 221 | /* Don't move this to window.el - this must be a safe routine. */ | 221 | /* Don't move this to window.el - this must be a safe routine. */ |
| 222 | DEFUN ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0, | 222 | DEFUN ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0, |
| 223 | doc: /* Return the topmost, leftmost live window on FRAME_OR_WINDOW. | 223 | doc: /* Return the topmost, leftmost live window on FRAME-OR-WINDOW. |
| 224 | If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. | 224 | If omitted, FRAME-OR-WINDOW defaults to the currently selected frame. |
| 225 | Else if FRAME_OR_WINDOW denotes any window, return the first window of | 225 | Else if FRAME-OR-WINDOW denotes any window, return the first window of |
| 226 | that window's frame. If FRAME_OR_WINDOW denotes a live frame, return | 226 | that window's frame. If FRAME-OR-WINDOW denotes a live frame, return |
| 227 | the first window of that frame. */) | 227 | the first window of that frame. */) |
| 228 | (Lisp_Object frame_or_window) | 228 | (Lisp_Object frame_or_window) |
| 229 | { | 229 | { |
| @@ -254,10 +254,10 @@ the first window of that frame. */) | |||
| 254 | 254 | ||
| 255 | DEFUN ("frame-selected-window", Fframe_selected_window, | 255 | DEFUN ("frame-selected-window", Fframe_selected_window, |
| 256 | Sframe_selected_window, 0, 1, 0, | 256 | Sframe_selected_window, 0, 1, 0, |
| 257 | doc: /* Return the selected window of FRAME_OR_WINDOW. | 257 | doc: /* Return the selected window of FRAME-OR-WINDOW. |
| 258 | If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. | 258 | If omitted, FRAME-OR-WINDOW defaults to the currently selected frame. |
| 259 | Else if FRAME_OR_WINDOW denotes any window, return the selected window | 259 | Else if FRAME-OR-WINDOW denotes any window, return the selected window |
| 260 | of that window's frame. If FRAME_OR_WINDOW denotes a live frame, return | 260 | of that window's frame. If FRAME-OR-WINDOW denotes a live frame, return |
| 261 | the selected window of that frame. */) | 261 | the selected window of that frame. */) |
| 262 | (Lisp_Object frame_or_window) | 262 | (Lisp_Object frame_or_window) |
| 263 | { | 263 | { |
| @@ -1297,7 +1297,7 @@ WINDOW must be a live window and defaults to the selected one. | |||
| 1297 | This is updated by redisplay, when it runs to completion. | 1297 | This is updated by redisplay, when it runs to completion. |
| 1298 | Simply changing the buffer text or setting `window-start' | 1298 | Simply changing the buffer text or setting `window-start' |
| 1299 | does not update this value. | 1299 | does not update this value. |
| 1300 | Return nil if there is no recorded value. \(This can happen if the | 1300 | Return nil if there is no recorded value. (This can happen if the |
| 1301 | last redisplay of WINDOW was preempted, and did not finish.) | 1301 | last redisplay of WINDOW was preempted, and did not finish.) |
| 1302 | If UPDATE is non-nil, compute the up-to-date position | 1302 | If UPDATE is non-nil, compute the up-to-date position |
| 1303 | if it isn't already recorded. */) | 1303 | if it isn't already recorded. */) |
| @@ -1689,7 +1689,7 @@ DEFUN ("window-parameters", Fwindow_parameters, Swindow_parameters, | |||
| 1689 | 0, 1, 0, | 1689 | 0, 1, 0, |
| 1690 | doc: /* Return the parameters of WINDOW and their values. | 1690 | doc: /* Return the parameters of WINDOW and their values. |
| 1691 | WINDOW defaults to the selected window. The return value is a list of | 1691 | WINDOW defaults to the selected window. The return value is a list of |
| 1692 | elements of the form (PARAMETER . VALUE). */) | 1692 | elements of the form (PARAMETER . VALUE). */) |
| 1693 | (Lisp_Object window) | 1693 | (Lisp_Object window) |
| 1694 | { | 1694 | { |
| 1695 | return Fcopy_alist (decode_any_window (window)->window_parameters); | 1695 | return Fcopy_alist (decode_any_window (window)->window_parameters); |
| @@ -2194,7 +2194,7 @@ next_window (Lisp_Object window, Lisp_Object minibuf, Lisp_Object all_frames, in | |||
| 2194 | 2194 | ||
| 2195 | DEFUN ("next-window", Fnext_window, Snext_window, 0, 3, 0, | 2195 | DEFUN ("next-window", Fnext_window, Snext_window, 0, 3, 0, |
| 2196 | doc: /* Return window following WINDOW in cyclic ordering of windows. | 2196 | doc: /* Return window following WINDOW in cyclic ordering of windows. |
| 2197 | WINDOW must be a live window and defaults to the selected one. The | 2197 | WINDOW must be a live window and defaults to the selected one. The |
| 2198 | optional arguments MINIBUF and ALL-FRAMES specify the set of windows to | 2198 | optional arguments MINIBUF and ALL-FRAMES specify the set of windows to |
| 2199 | consider. | 2199 | consider. |
| 2200 | 2200 | ||
| @@ -3225,7 +3225,7 @@ temp_output_buffer_show (register Lisp_Object buf) | |||
| 3225 | DEFUN ("internal-temp-output-buffer-show", | 3225 | DEFUN ("internal-temp-output-buffer-show", |
| 3226 | Ftemp_output_buffer_show, Stemp_output_buffer_show, | 3226 | Ftemp_output_buffer_show, Stemp_output_buffer_show, |
| 3227 | 1, 1, 0, | 3227 | 1, 1, 0, |
| 3228 | doc: /* Internal function for `with-output-to-temp-buffer''. */) | 3228 | doc: /* Internal function for `with-output-to-temp-buffer'. */) |
| 3229 | (Lisp_Object buf) | 3229 | (Lisp_Object buf) |
| 3230 | { | 3230 | { |
| 3231 | temp_output_buffer_show (buf); | 3231 | temp_output_buffer_show (buf); |
| @@ -3846,8 +3846,8 @@ set correctly. See the code of `split-window' for how this is done. */) | |||
| 3846 | 3846 | ||
| 3847 | DEFUN ("delete-window-internal", Fdelete_window_internal, Sdelete_window_internal, 1, 1, 0, | 3847 | DEFUN ("delete-window-internal", Fdelete_window_internal, Sdelete_window_internal, 1, 1, 0, |
| 3848 | doc: /* Remove WINDOW from its frame. | 3848 | doc: /* Remove WINDOW from its frame. |
| 3849 | WINDOW defaults to the selected window. Return nil. Signal an error | 3849 | WINDOW defaults to the selected window. Return nil. |
| 3850 | when WINDOW is the only window on its frame. */) | 3850 | Signal an error when WINDOW is the only window on its frame. */) |
| 3851 | (register Lisp_Object window) | 3851 | (register Lisp_Object window) |
| 3852 | { | 3852 | { |
| 3853 | register Lisp_Object parent, sibling, frame, root; | 3853 | register Lisp_Object parent, sibling, frame, root; |
| @@ -5227,8 +5227,8 @@ any partial-height lines in the text display area. */) | |||
| 5227 | DEFUN ("move-to-window-line", Fmove_to_window_line, Smove_to_window_line, | 5227 | DEFUN ("move-to-window-line", Fmove_to_window_line, Smove_to_window_line, |
| 5228 | 1, 1, "P", | 5228 | 1, 1, "P", |
| 5229 | doc: /* Position point relative to window. | 5229 | doc: /* Position point relative to window. |
| 5230 | With no argument, position point at center of window. | 5230 | ARG nil means position point at center of window. |
| 5231 | An argument specifies vertical position within the window; | 5231 | Else, ARG specifies vertical position within the window; |
| 5232 | zero means top of window, negative means relative to bottom of window. */) | 5232 | zero means top of window, negative means relative to bottom of window. */) |
| 5233 | (Lisp_Object arg) | 5233 | (Lisp_Object arg) |
| 5234 | { | 5234 | { |