aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c41
1 files changed, 21 insertions, 20 deletions
diff --git a/src/window.c b/src/window.c
index 7f4714ba17e..e6840a0ebe7 100644
--- a/src/window.c
+++ b/src/window.c
@@ -177,10 +177,10 @@ WINDOW can be any window and defaults to the selected one. */)
177} 177}
178 178
179DEFUN ("frame-root-window", Fframe_root_window, Sframe_root_window, 0, 1, 0, 179DEFUN ("frame-root-window", Fframe_root_window, Sframe_root_window, 0, 1, 0,
180 doc: /* Return the root window of FRAME_OR_WINDOW. 180 doc: /* Return the root window of FRAME-OR-WINDOW.
181If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. 181If omitted, FRAME-OR-WINDOW defaults to the currently selected frame.
182Else if FRAME_OR_WINDOW denotes any window, return the root window of 182Else if FRAME-OR-WINDOW denotes any window, return the root window of
183that window's frame. If FRAME_OR_WINDOW denotes a live frame, return 183that window's frame. If FRAME-OR-WINDOW denotes a live frame, return
184the root window of that frame. */) 184the root window of that frame. */)
185 (Lisp_Object frame_or_window) 185 (Lisp_Object frame_or_window)
186{ 186{
@@ -222,10 +222,10 @@ WINDOW can be any window and defaults to the selected one. */)
222 222
223/* Don't move this to window.el - this must be a safe routine. */ 223/* Don't move this to window.el - this must be a safe routine. */
224DEFUN ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0, 224DEFUN ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0,
225 doc: /* Return the topmost, leftmost live window on FRAME_OR_WINDOW. 225 doc: /* Return the topmost, leftmost live window on FRAME-OR-WINDOW.
226If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. 226If omitted, FRAME-OR-WINDOW defaults to the currently selected frame.
227Else if FRAME_OR_WINDOW denotes any window, return the first window of 227Else if FRAME-OR-WINDOW denotes any window, return the first window of
228that window's frame. If FRAME_OR_WINDOW denotes a live frame, return 228that window's frame. If FRAME-OR-WINDOW denotes a live frame, return
229the first window of that frame. */) 229the first window of that frame. */)
230 (Lisp_Object frame_or_window) 230 (Lisp_Object frame_or_window)
231{ 231{
@@ -256,10 +256,10 @@ the first window of that frame. */)
256 256
257DEFUN ("frame-selected-window", Fframe_selected_window, 257DEFUN ("frame-selected-window", Fframe_selected_window,
258 Sframe_selected_window, 0, 1, 0, 258 Sframe_selected_window, 0, 1, 0,
259 doc: /* Return the selected window of FRAME_OR_WINDOW. 259 doc: /* Return the selected window of FRAME-OR-WINDOW.
260If omitted, FRAME_OR_WINDOW defaults to the currently selected frame. 260If omitted, FRAME-OR-WINDOW defaults to the currently selected frame.
261Else if FRAME_OR_WINDOW denotes any window, return the selected window 261Else if FRAME-OR-WINDOW denotes any window, return the selected window
262of that window's frame. If FRAME_OR_WINDOW denotes a live frame, return 262of that window's frame. If FRAME-OR-WINDOW denotes a live frame, return
263the selected window of that frame. */) 263the selected window of that frame. */)
264 (Lisp_Object frame_or_window) 264 (Lisp_Object frame_or_window)
265{ 265{
@@ -1299,7 +1299,7 @@ WINDOW must be a live window and defaults to the selected one.
1299This is updated by redisplay, when it runs to completion. 1299This is updated by redisplay, when it runs to completion.
1300Simply changing the buffer text or setting `window-start' 1300Simply changing the buffer text or setting `window-start'
1301does not update this value. 1301does not update this value.
1302Return nil if there is no recorded value. \(This can happen if the 1302Return nil if there is no recorded value. (This can happen if the
1303last redisplay of WINDOW was preempted, and did not finish.) 1303last redisplay of WINDOW was preempted, and did not finish.)
1304If UPDATE is non-nil, compute the up-to-date position 1304If UPDATE is non-nil, compute the up-to-date position
1305if it isn't already recorded. */) 1305if it isn't already recorded. */)
@@ -1690,7 +1690,7 @@ DEFUN ("window-parameters", Fwindow_parameters, Swindow_parameters,
1690 0, 1, 0, 1690 0, 1, 0,
1691 doc: /* Return the parameters of WINDOW and their values. 1691 doc: /* Return the parameters of WINDOW and their values.
1692WINDOW defaults to the selected window. The return value is a list of 1692WINDOW defaults to the selected window. The return value is a list of
1693elements of the form (PARAMETER . VALUE). */) 1693elements of the form (PARAMETER . VALUE). */)
1694 (Lisp_Object window) 1694 (Lisp_Object window)
1695{ 1695{
1696 return Fcopy_alist (decode_any_window (window)->window_parameters); 1696 return Fcopy_alist (decode_any_window (window)->window_parameters);
@@ -2195,7 +2195,7 @@ next_window (Lisp_Object window, Lisp_Object minibuf, Lisp_Object all_frames, in
2195 2195
2196DEFUN ("next-window", Fnext_window, Snext_window, 0, 3, 0, 2196DEFUN ("next-window", Fnext_window, Snext_window, 0, 3, 0,
2197 doc: /* Return window following WINDOW in cyclic ordering of windows. 2197 doc: /* Return window following WINDOW in cyclic ordering of windows.
2198WINDOW must be a live window and defaults to the selected one. The 2198WINDOW must be a live window and defaults to the selected one. The
2199optional arguments MINIBUF and ALL-FRAMES specify the set of windows to 2199optional arguments MINIBUF and ALL-FRAMES specify the set of windows to
2200consider. 2200consider.
2201 2201
@@ -3226,7 +3226,7 @@ temp_output_buffer_show (register Lisp_Object buf)
3226DEFUN ("internal-temp-output-buffer-show", 3226DEFUN ("internal-temp-output-buffer-show",
3227 Ftemp_output_buffer_show, Stemp_output_buffer_show, 3227 Ftemp_output_buffer_show, Stemp_output_buffer_show,
3228 1, 1, 0, 3228 1, 1, 0,
3229 doc: /* Internal function for `with-output-to-temp-buffer''. */) 3229 doc: /* Internal function for `with-output-to-temp-buffer'. */)
3230 (Lisp_Object buf) 3230 (Lisp_Object buf)
3231{ 3231{
3232 temp_output_buffer_show (buf); 3232 temp_output_buffer_show (buf);
@@ -3322,6 +3322,7 @@ make_window (void)
3322 memset (&w->phys_cursor, 0, sizeof (w->phys_cursor)); 3322 memset (&w->phys_cursor, 0, sizeof (w->phys_cursor));
3323 w->phys_cursor_type = -1; 3323 w->phys_cursor_type = -1;
3324 w->phys_cursor_width = -1; 3324 w->phys_cursor_width = -1;
3325 w->phys_cursor_on_p = 0;
3325 w->last_cursor_off_p = w->cursor_off_p = 0; 3326 w->last_cursor_off_p = w->cursor_off_p = 0;
3326 w->must_be_updated_p = 0; 3327 w->must_be_updated_p = 0;
3327 w->pseudo_window_p = 0; 3328 w->pseudo_window_p = 0;
@@ -3847,8 +3848,8 @@ set correctly. See the code of `split-window' for how this is done. */)
3847 3848
3848DEFUN ("delete-window-internal", Fdelete_window_internal, Sdelete_window_internal, 1, 1, 0, 3849DEFUN ("delete-window-internal", Fdelete_window_internal, Sdelete_window_internal, 1, 1, 0,
3849 doc: /* Remove WINDOW from its frame. 3850 doc: /* Remove WINDOW from its frame.
3850WINDOW defaults to the selected window. Return nil. Signal an error 3851WINDOW defaults to the selected window. Return nil.
3851when WINDOW is the only window on its frame. */) 3852Signal an error when WINDOW is the only window on its frame. */)
3852 (register Lisp_Object window) 3853 (register Lisp_Object window)
3853{ 3854{
3854 register Lisp_Object parent, sibling, frame, root; 3855 register Lisp_Object parent, sibling, frame, root;
@@ -5230,8 +5231,8 @@ any partial-height lines in the text display area. */)
5230DEFUN ("move-to-window-line", Fmove_to_window_line, Smove_to_window_line, 5231DEFUN ("move-to-window-line", Fmove_to_window_line, Smove_to_window_line,
5231 1, 1, "P", 5232 1, 1, "P",
5232 doc: /* Position point relative to window. 5233 doc: /* Position point relative to window.
5233With no argument, position point at center of window. 5234ARG nil means position point at center of window.
5234An argument specifies vertical position within the window; 5235Else, ARG specifies vertical position within the window;
5235zero means top of window, negative means relative to bottom of window. */) 5236zero means top of window, negative means relative to bottom of window. */)
5236 (Lisp_Object arg) 5237 (Lisp_Object arg)
5237{ 5238{