aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorJoakim Verona2012-12-22 20:17:08 +0100
committerJoakim Verona2012-12-22 20:17:08 +0100
commita26b09f270e438e5ecfdce7bf9f424e5b7ec0766 (patch)
treea2ba7ad3bb597144adedc70f7f0c8d6999dd2fe7 /src/window.c
parentcc590e378e07c7eb84bb5d577b06b4d9a0177272 (diff)
parent00afe3a454119390e78eaaa319a7d05e5e7723ae (diff)
downloademacs-a26b09f270e438e5ecfdce7bf9f424e5b7ec0766.tar.gz
emacs-a26b09f270e438e5ecfdce7bf9f424e5b7ec0766.zip
auto upstream
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index ba633581b00..61a8ae00e8c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -567,9 +567,11 @@ select_window_1 (Lisp_Object window, bool inhibit_point_swap)
567} 567}
568 568
569DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0, 569DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0,
570 doc: /* Select WINDOW. Most editing will apply to WINDOW's buffer. 570 doc: /* Select WINDOW which must be a live window.
571Also make WINDOW's buffer current and make WINDOW the frame's selected 571Also make WINDOW's frame the selected frame and WINDOW that frame's
572window. Return WINDOW. 572selected window. In addition, make WINDOW's buffer current and set that
573buffer's value of `point' to the value of WINDOW's `window-point'.
574Return WINDOW.
573 575
574Optional second arg NORECORD non-nil means do not put this buffer at the 576Optional second arg NORECORD non-nil means do not put this buffer at the
575front of the buffer list and do not make this window the most recently 577front of the buffer list and do not make this window the most recently