diff options
| author | Martin Rudalics | 2012-12-22 11:12:52 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2012-12-22 11:12:52 +0100 |
| commit | 94900bfe14d9da2071e9cd5e1257ae21eeae41d9 (patch) | |
| tree | ce24453c9352b72ac6c15c3db2dbf01f9d8b737f | |
| parent | 160b3852018831b830a7451f29f770fb49810342 (diff) | |
| download | emacs-94900bfe14d9da2071e9cd5e1257ae21eeae41d9.tar.gz emacs-94900bfe14d9da2071e9cd5e1257ae21eeae41d9.zip | |
Reword doc and doc-string of select-window (Bug#13248).
* window.c (Fselect_window): Reword doc-string.
* windows.texi (Selecting Windows): Reword description of
select-window.
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 10 | ||||
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/window.c | 8 |
4 files changed, 20 insertions, 7 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 212e7c86e68..09c70226d5d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-12-22 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * windows.texi (Selecting Windows): Reword description of | ||
| 4 | select-window (Bug#13248). | ||
| 5 | |||
| 1 | 2012-12-21 Chong Yidong <cyd@gnu.org> | 6 | 2012-12-21 Chong Yidong <cyd@gnu.org> |
| 2 | 7 | ||
| 3 | * modes.texi (Auto Major Mode): Fix typo (Bug#13230). | 8 | * modes.texi (Auto Major Mode): Fix typo (Bug#13230). |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index a3bbe192ad1..44d6af6eb52 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -1296,10 +1296,12 @@ windows. | |||
| 1296 | @cindex selecting a window | 1296 | @cindex selecting a window |
| 1297 | 1297 | ||
| 1298 | @defun select-window window &optional norecord | 1298 | @defun select-window window &optional norecord |
| 1299 | This function makes @var{window} the selected window, as well as the | 1299 | This function makes @var{window} the selected window and the window |
| 1300 | window selected within its frame (@pxref{Basic Windows}). @var{window} | 1300 | selected within its frame (@pxref{Basic Windows}) and selects that |
| 1301 | must be a live window. This function makes also @var{window}'s buffer | 1301 | frame. @var{window} must be a live window. This function also makes |
| 1302 | current (@pxref{Buffers and Windows}). The return value is | 1302 | @var{window}'s buffer (@pxref{Buffers and Windows}) current and sets |
| 1303 | that buffer's value of @code{point} to the value of @code{window-point} | ||
| 1304 | (@pxref{Window Point}) in @var{window}. The return value is | ||
| 1303 | @var{window}. | 1305 | @var{window}. |
| 1304 | 1306 | ||
| 1305 | By default, this function also moves @var{window}'s buffer to the front | 1307 | By default, this function also moves @var{window}'s buffer to the front |
diff --git a/src/ChangeLog b/src/ChangeLog index e1017f3d037..e8d5449a99e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-12-22 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * window.c (Fselect_window): Reword doc-string (Bug#13248). | ||
| 4 | |||
| 1 | 2012-12-21 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-12-21 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * fileio.c (Finsert_file_contents): Doc fix. | 7 | * fileio.c (Finsert_file_contents): Doc fix. |
diff --git a/src/window.c b/src/window.c index 4981b8cd7c0..95ad76d6774 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -523,9 +523,11 @@ select_window (Lisp_Object window, Lisp_Object norecord, int inhibit_point_swap) | |||
| 523 | } | 523 | } |
| 524 | 524 | ||
| 525 | DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0, | 525 | DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0, |
| 526 | doc: /* Select WINDOW. Most editing will apply to WINDOW's buffer. | 526 | doc: /* Select WINDOW which must be a live window. |
| 527 | Also make WINDOW's buffer current and make WINDOW the frame's selected | 527 | Also make WINDOW's frame the selected frame and WINDOW that frame's |
| 528 | window. Return WINDOW. | 528 | selected window. In addition, make WINDOW's buffer current and set that |
| 529 | buffer's value of `point' to the value of WINDOW's `window-point'. | ||
| 530 | Return WINDOW. | ||
| 529 | 531 | ||
| 530 | Optional second arg NORECORD non-nil means do not put this buffer at the | 532 | Optional second arg NORECORD non-nil means do not put this buffer at the |
| 531 | front of the buffer list and do not make this window the most recently | 533 | front of the buffer list and do not make this window the most recently |