diff options
| author | Lars Magne Ingebrigtsen | 2012-01-07 06:57:57 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2012-01-07 06:57:57 +0100 |
| commit | 4e5d086de65e6cab4bf68339381da1bac2d01583 (patch) | |
| tree | 56af12e5358e94680055564cd104aac145bbb34f /lisp/subr.el | |
| parent | 8e66aebec2ebebd37c2b2cb97182b4f085fc54f9 (diff) | |
| download | emacs-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.el | 5 |
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. |
| 2984 | The value returned is the value of the last form in BODY. | 2984 | The value returned is the value of the last form in BODY. |
| 2985 | 2985 | ||
| 2986 | This macro neither changes the order of recently selected windows | 2986 | This macro saves and restores the selected frame, and changes the |
| 2987 | nor the buffer list." | 2987 | order of neither the recently selected windows nor the buffers in |
| 2988 | the 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"))) |