aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2012-08-13 09:25:30 +0200
committerMartin Rudalics2012-08-13 09:25:30 +0200
commit35cb9c06f75e1d682663fd79ff78b7adac182437 (patch)
tree059e24603abb85902ea25d9972b569b6a99a79c2
parent7864a3f729e9bd78f17deefec428a6db41742c82 (diff)
downloademacs-35cb9c06f75e1d682663fd79ff78b7adac182437.tar.gz
emacs-35cb9c06f75e1d682663fd79ff78b7adac182437.zip
Fix last change to with-selected-window.
* subr.el (with-selected-window): Fix last change.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/subr.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d57c3f8b61a..79ea1e0bdd4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12012-08-13 Martin Rudalics <rudalics@gmx.at>
2
3 * subr.el (with-selected-window): Fix last change.
4
12012-08-12 Stefan Monnier <monnier@iro.umontreal.ca> 52012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * subr.el (internal--before-with-seleted-window) 7 * subr.el (internal--before-with-seleted-window)
diff --git a/lisp/subr.el b/lisp/subr.el
index 34c0a780930..2fd322dc77e 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3070,7 +3070,7 @@ the buffer list ordering."
3070 (unwind-protect 3070 (unwind-protect
3071 (progn (select-window (car save-selected-window--state) 'norecord) 3071 (progn (select-window (car save-selected-window--state) 'norecord)
3072 ,@body) 3072 ,@body)
3073 (internal--before-with-seleted-window save-selected-window--state))))) 3073 (internal--after-with-seleted-window save-selected-window--state)))))
3074 3074
3075(defmacro with-selected-frame (frame &rest body) 3075(defmacro with-selected-frame (frame &rest body)
3076 "Execute the forms in BODY with FRAME as the selected frame. 3076 "Execute the forms in BODY with FRAME as the selected frame.