Mercurial > emacs
changeset 56402:78189fca7611
(with-selected-window): Doc fix.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Tue, 13 Jul 2004 00:08:28 +0000 |
parents | 1529ab7bab88 |
children | 9fef85889943 |
files | lisp/subr.el |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/subr.el Mon Jul 12 14:35:53 2004 +0000 +++ b/lisp/subr.el Tue Jul 13 00:08:28 2004 +0000 @@ -1799,6 +1799,12 @@ "Execute the forms in BODY with WINDOW as the selected window. The value returned is the value of the last form in BODY. This does not alter the buffer list ordering. +This function saves and restores the selected window, as well as +the selected window in each frame. If the previously selected +window of some frame is no longer live at the end of BODY, that +frame's selected window is left alone. If the selected window is +no longer live, then whatever window is selected at the end of +BODY remains selected. See also `with-temp-buffer'." (declare (indent 1) (debug t)) ;; Most of this code is a copy of save-selected-window.