aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorPaul Eggert2011-10-27 11:20:24 -0700
committerPaul Eggert2011-10-27 11:20:24 -0700
commit929bb973dd3faf1655f03ac758942d5b009354ad (patch)
tree56f50bd1940eae6c9aafc5a719584a355818dcbe /src/window.c
parentdde1458174882077ca799d03f0adea91286650a3 (diff)
parent87e68db4734d89bab693744ad210560da0c20a87 (diff)
downloademacs-929bb973dd3faf1655f03ac758942d5b009354ad.tar.gz
emacs-929bb973dd3faf1655f03ac758942d5b009354ad.zip
Merge from trunk.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c40
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
177DEFUN ("frame-root-window", Fframe_root_window, Sframe_root_window, 0, 1, 0, 177DEFUN ("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.
179If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. 179If omitted, FRAME-OR-WINDOW defaults to the currently selected frame.
180Else if FRAME_OR_WINDOW denotes any window, return the root window of 180Else if FRAME-OR-WINDOW denotes any window, return the root window of
181that window's frame. If FRAME_OR_WINDOW denotes a live frame, return 181that window's frame. If FRAME-OR-WINDOW denotes a live frame, return
182the root window of that frame. */) 182the 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. */
222DEFUN ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0, 222DEFUN ("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.
224If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. 224If omitted, FRAME-OR-WINDOW defaults to the currently selected frame.
225Else if FRAME_OR_WINDOW denotes any window, return the first window of 225Else if FRAME-OR-WINDOW denotes any window, return the first window of
226that window's frame. If FRAME_OR_WINDOW denotes a live frame, return 226that window's frame. If FRAME-OR-WINDOW denotes a live frame, return
227the first window of that frame. */) 227the 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
255DEFUN ("frame-selected-window", Fframe_selected_window, 255DEFUN ("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.
258If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. 258If omitted, FRAME-OR-WINDOW defaults to the currently selected frame.
259Else if FRAME_OR_WINDOW denotes any window, return the selected window 259Else if FRAME-OR-WINDOW denotes any window, return the selected window
260of that window's frame. If FRAME_OR_WINDOW denotes a live frame, return 260of that window's frame. If FRAME-OR-WINDOW denotes a live frame, return
261the selected window of that frame. */) 261the 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.
1297This is updated by redisplay, when it runs to completion. 1297This is updated by redisplay, when it runs to completion.
1298Simply changing the buffer text or setting `window-start' 1298Simply changing the buffer text or setting `window-start'
1299does not update this value. 1299does not update this value.
1300Return nil if there is no recorded value. \(This can happen if the 1300Return nil if there is no recorded value. (This can happen if the
1301last redisplay of WINDOW was preempted, and did not finish.) 1301last redisplay of WINDOW was preempted, and did not finish.)
1302If UPDATE is non-nil, compute the up-to-date position 1302If UPDATE is non-nil, compute the up-to-date position
1303if it isn't already recorded. */) 1303if 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.
1691WINDOW defaults to the selected window. The return value is a list of 1691WINDOW defaults to the selected window. The return value is a list of
1692elements of the form (PARAMETER . VALUE). */) 1692elements 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
2195DEFUN ("next-window", Fnext_window, Snext_window, 0, 3, 0, 2195DEFUN ("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.
2197WINDOW must be a live window and defaults to the selected one. The 2197WINDOW must be a live window and defaults to the selected one. The
2198optional arguments MINIBUF and ALL-FRAMES specify the set of windows to 2198optional arguments MINIBUF and ALL-FRAMES specify the set of windows to
2199consider. 2199consider.
2200 2200
@@ -3225,7 +3225,7 @@ temp_output_buffer_show (register Lisp_Object buf)
3225DEFUN ("internal-temp-output-buffer-show", 3225DEFUN ("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
3847DEFUN ("delete-window-internal", Fdelete_window_internal, Sdelete_window_internal, 1, 1, 0, 3847DEFUN ("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.
3849WINDOW defaults to the selected window. Return nil. Signal an error 3849WINDOW defaults to the selected window. Return nil.
3850when WINDOW is the only window on its frame. */) 3850Signal 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. */)
5227DEFUN ("move-to-window-line", Fmove_to_window_line, Smove_to_window_line, 5227DEFUN ("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.
5230With no argument, position point at center of window. 5230ARG nil means position point at center of window.
5231An argument specifies vertical position within the window; 5231Else, ARG specifies vertical position within the window;
5232zero means top of window, negative means relative to bottom of window. */) 5232zero means top of window, negative means relative to bottom of window. */)
5233 (Lisp_Object arg) 5233 (Lisp_Object arg)
5234{ 5234{