diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index 9571788798f..a7d30b7a467 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -566,9 +566,11 @@ select_window_1 (Lisp_Object window, bool inhibit_point_swap) | |||
| 566 | } | 566 | } |
| 567 | 567 | ||
| 568 | DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0, | 568 | DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0, |
| 569 | doc: /* Select WINDOW. Most editing will apply to WINDOW's buffer. | 569 | doc: /* Select WINDOW which must be a live window. |
| 570 | Also make WINDOW's buffer current and make WINDOW the frame's selected | 570 | Also make WINDOW's frame the selected frame and WINDOW that frame's |
| 571 | window. Return WINDOW. | 571 | selected window. In addition, make WINDOW's buffer current and set that |
| 572 | buffer's value of `point' to the value of WINDOW's `window-point'. | ||
| 573 | Return WINDOW. | ||
| 572 | 574 | ||
| 573 | Optional second arg NORECORD non-nil means do not put this buffer at the | 575 | Optional second arg NORECORD non-nil means do not put this buffer at the |
| 574 | front of the buffer list and do not make this window the most recently | 576 | front of the buffer list and do not make this window the most recently |