diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 32 |
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 | ||
| 437 | DEFUN ("window-vchild", Fwindow_vchild, Swindow_vchild, 0, 1, 0, | 437 | DEFUN ("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. |
| 439 | WINDOW can be any window and defaults to the selected one. | 439 | WINDOW can be any window and defaults to the selected one. |
| 440 | Return nil if WINDOW has no vertical child. */) | 440 | Return 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 | ||
| 446 | DEFUN ("window-hchild", Fwindow_hchild, Swindow_hchild, 0, 1, 0, | 446 | DEFUN ("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. |
| 448 | WINDOW can be any window and defaults to the selected one. | 448 | WINDOW can be any window and defaults to the selected one. |
| 449 | Return nil if WINDOW has no horizontal child. */) | 449 | Return 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 | ||
| 455 | DEFUN ("window-next", Fwindow_next, Swindow_next, 0, 1, 0, | 455 | DEFUN ("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. |
| 457 | WINDOW can be any window and defaults to the selected one. | 457 | WINDOW can be any window and defaults to the selected one. |
| 458 | Return nil if WINDOW has no right sibling. */) | 458 | Return 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 | ||
| 464 | DEFUN ("window-prev", Fwindow_prev, Swindow_prev, 0, 1, 0, | 464 | DEFUN ("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. |
| 466 | WINDOW can be any window and defaults to the selected one. | 466 | WINDOW can be any window and defaults to the selected one. |
| 467 | Return nil if WINDOW has no left sibling. */) | 467 | Return 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); |