aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/window.c b/src/window.c
index 50d4a92a4c5..19b3edf4c77 100644
--- a/src/window.c
+++ b/src/window.c
@@ -434,37 +434,37 @@ Return nil if WINDOW has no parent. */)
434 return decode_any_window (window)->parent; 434 return decode_any_window (window)->parent;
435} 435}
436 436
437DEFUN ("window-vchild", Fwindow_vchild, Swindow_vchild, 0, 1, 0, 437DEFUN ("window-top-child", Fwindow_top_child, Swindow_top_child, 0, 1, 0,
438 doc: /* Return WINDOW's first vertical child window. 438 doc: /* Return WINDOW's topmost child window.
439WINDOW can be any window and defaults to the selected one. 439WINDOW can be any window and defaults to the selected one.
440Return nil if WINDOW has no vertical child. */) 440Return nil if WINDOW is not a vertical combination. */)
441 (Lisp_Object window) 441 (Lisp_Object window)
442{ 442{
443 return decode_any_window (window)->vchild; 443 return decode_any_window (window)->vchild;
444} 444}
445 445
446DEFUN ("window-hchild", Fwindow_hchild, Swindow_hchild, 0, 1, 0, 446DEFUN ("window-left-child", Fwindow_left_child, Swindow_left_child, 0, 1, 0,
447 doc: /* Return WINDOW's first horizontal child window. 447 doc: /* Return WINDOW's leftmost child window.
448WINDOW can be any window and defaults to the selected one. 448WINDOW can be any window and defaults to the selected one.
449Return nil if WINDOW has no horizontal child. */) 449Return nil if WINDOW is not a horizontal combination. */)
450 (Lisp_Object window) 450 (Lisp_Object window)
451{ 451{
452 return decode_any_window (window)->hchild; 452 return decode_any_window (window)->hchild;
453} 453}
454 454
455DEFUN ("window-next", Fwindow_next, Swindow_next, 0, 1, 0, 455DEFUN ("window-next-sibling", Fwindow_next_sibling, Swindow_next_sibling, 0, 1, 0,
456 doc: /* Return WINDOW's right sibling window. 456 doc: /* Return WINDOW's next sibling window.
457WINDOW can be any window and defaults to the selected one. 457WINDOW can be any window and defaults to the selected one.
458Return nil if WINDOW has no right sibling. */) 458Return nil if WINDOW has no next sibling. */)
459 (Lisp_Object window) 459 (Lisp_Object window)
460{ 460{
461 return decode_any_window (window)->next; 461 return decode_any_window (window)->next;
462} 462}
463 463
464DEFUN ("window-prev", Fwindow_prev, Swindow_prev, 0, 1, 0, 464DEFUN ("window-prev-sibling", Fwindow_prev_sibling, Swindow_prev_sibling, 0, 1, 0,
465 doc: /* Return WINDOW's left sibling window. 465 doc: /* Return WINDOW's previous sibling window.
466WINDOW can be any window and defaults to the selected one. 466WINDOW can be any window and defaults to the selected one.
467Return nil if WINDOW has no left sibling. */) 467Return nil if WINDOW has no previous sibling. */)
468 (Lisp_Object window) 468 (Lisp_Object window)
469{ 469{
470 return decode_any_window (window)->prev; 470 return decode_any_window (window)->prev;
@@ -6598,10 +6598,10 @@ function `window-nest' and altered by the function `set-window-nest'. */);
6598 defsubr (&Swindow_clone_number); 6598 defsubr (&Swindow_clone_number);
6599 defsubr (&Swindow_buffer); 6599 defsubr (&Swindow_buffer);
6600 defsubr (&Swindow_parent); 6600 defsubr (&Swindow_parent);
6601 defsubr (&Swindow_vchild); 6601 defsubr (&Swindow_top_child);
6602 defsubr (&Swindow_hchild); 6602 defsubr (&Swindow_left_child);
6603 defsubr (&Swindow_next); 6603 defsubr (&Swindow_next_sibling);
6604 defsubr (&Swindow_prev); 6604 defsubr (&Swindow_prev_sibling);
6605 defsubr (&Swindow_splits); 6605 defsubr (&Swindow_splits);
6606 defsubr (&Sset_window_splits); 6606 defsubr (&Sset_window_splits);
6607 defsubr (&Swindow_nest); 6607 defsubr (&Swindow_nest);