summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2012-01-07 06:57:57 +0100
committerLars Magne Ingebrigtsen <larsi@gnus.org>2012-01-07 06:57:57 +0100
commit4e5d086de65e6cab4bf68339381da1bac2d01583 (patch)
tree56af12e5358e94680055564cd104aac145bbb34f /lisp/subr.el
parent8e66aebec2ebebd37c2b2cb97182b4f085fc54f9 (diff)
downloademacs-4e5d086de65e6cab4bf68339381da1bac2d01583.tar.gz
(with-selected-frame): Mention that the selected frame is restored.
Fixes: debbugs:9980
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 15665e4ee24..14f9192405c 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2983,8 +2983,9 @@ the buffer list ordering."
"Execute the forms in BODY with FRAME as the selected frame.
The value returned is the value of the last form in BODY.
-This macro neither changes the order of recently selected windows
-nor the buffer list."
+This macro saves and restores the selected frame, and changes the
+order of neither the recently selected windows nor the buffers in
+the buffer list."
(declare (indent 1) (debug t))
(let ((old-frame (make-symbol "old-frame"))
(old-buffer (make-symbol "old-buffer")))