summaryrefslogtreecommitdiff
path: root/doc/lispref
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2012-12-22 11:12:52 +0100
committerMartin Rudalics <rudalics@gmx.at>2012-12-22 11:12:52 +0100
commit94900bfe14d9da2071e9cd5e1257ae21eeae41d9 (patch)
treece24453c9352b72ac6c15c3db2dbf01f9d8b737f /doc/lispref
parent160b3852018831b830a7451f29f770fb49810342 (diff)
downloademacs-94900bfe14d9da2071e9cd5e1257ae21eeae41d9.tar.gz
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.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/windows.texi10
2 files changed, 11 insertions, 4 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 @@
+2012-12-22 Martin Rudalics <rudalics@gmx.at>
+
+ * windows.texi (Selecting Windows): Reword description of
+ select-window (Bug#13248).
+
2012-12-21 Chong Yidong <cyd@gnu.org>
* 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.
@cindex selecting a window
@defun select-window window &optional norecord
-This function makes @var{window} the selected window, as well as the
-window selected within its frame (@pxref{Basic Windows}). @var{window}
-must be a live window. This function makes also @var{window}'s buffer
-current (@pxref{Buffers and Windows}). The return value is
+This function makes @var{window} the selected window and the window
+selected within its frame (@pxref{Basic Windows}) and selects that
+frame. @var{window} must be a live window. This function also makes
+@var{window}'s buffer (@pxref{Buffers and Windows}) current and sets
+that buffer's value of @code{point} to the value of @code{window-point}
+(@pxref{Window Point}) in @var{window}. The return value is
@var{window}.
By default, this function also moves @var{window}'s buffer to the front