aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorGlenn Morris2012-12-22 11:09:52 -0800
committerGlenn Morris2012-12-22 11:09:52 -0800
commit00afe3a454119390e78eaaa319a7d05e5e7723ae (patch)
tree26e0f292873faadeb48d6ef73710f0e5a1b308ef /src/window.c
parent04d9b71ab79f7773d9dba27ae2388a9e9ca563d4 (diff)
parentddc412646dbcc51032cf438064d5eb4c8dded906 (diff)
downloademacs-00afe3a454119390e78eaaa319a7d05e5e7723ae.tar.gz
emacs-00afe3a454119390e78eaaa319a7d05e5e7723ae.zip
Merge from emacs-24; up to 2012-12-02T06:22:32Z!cyd@gnu.org
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 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
568DEFUN ("select-window", Fselect_window, Sselect_window, 1, 2, 0, 568DEFUN ("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.
570Also make WINDOW's buffer current and make WINDOW the frame's selected 570Also make WINDOW's frame the selected frame and WINDOW that frame's
571window. Return WINDOW. 571selected window. In addition, make WINDOW's buffer current and set that
572buffer's value of `point' to the value of WINDOW's `window-point'.
573Return WINDOW.
572 574
573Optional second arg NORECORD non-nil means do not put this buffer at the 575Optional second arg NORECORD non-nil means do not put this buffer at the
574front of the buffer list and do not make this window the most recently 576front of the buffer list and do not make this window the most recently