aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2012-01-07 06:57:57 +0100
committerLars Magne Ingebrigtsen2012-01-07 06:57:57 +0100
commit4e5d086de65e6cab4bf68339381da1bac2d01583 (patch)
tree56af12e5358e94680055564cd104aac145bbb34f /lisp/subr.el
parent8e66aebec2ebebd37c2b2cb97182b4f085fc54f9 (diff)
downloademacs-4e5d086de65e6cab4bf68339381da1bac2d01583.tar.gz
emacs-4e5d086de65e6cab4bf68339381da1bac2d01583.zip
(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."
2983 "Execute the forms in BODY with FRAME as the selected frame. 2983 "Execute the forms in BODY with FRAME as the selected frame.
2984The value returned is the value of the last form in BODY. 2984The value returned is the value of the last form in BODY.
2985 2985
2986This macro neither changes the order of recently selected windows 2986This macro saves and restores the selected frame, and changes the
2987nor the buffer list." 2987order of neither the recently selected windows nor the buffers in
2988the buffer list."
2988 (declare (indent 1) (debug t)) 2989 (declare (indent 1) (debug t))
2989 (let ((old-frame (make-symbol "old-frame")) 2990 (let ((old-frame (make-symbol "old-frame"))
2990 (old-buffer (make-symbol "old-buffer"))) 2991 (old-buffer (make-symbol "old-buffer")))