Commit 7d806b1e authored by Daiki Ueno's avatar Daiki Ueno Committed by Chong Yidong
Browse files

* subr.el (internal--after-with-selected-window): Fix typo.

Fixes: debbugs:12193
parent 5beed586
2012-08-14 Daiki Ueno <ueno@unixuser.org>
* subr.el (internal--after-with-selected-window): Fix typo
(Bug#12193).
2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
 
Use `completion-table-dynamic' for completion functions.
......
......@@ -3048,8 +3048,8 @@ also `with-temp-buffer'."
(not (eq (tty-top-frame) (nth 3 state)))
(select-frame (nth 3 state) 'norecord)))
;; Then reset the actual selected-window.
(when (window-live-p (nth 2 state))
(select-window (nth 2 state) 'norecord)))
(when (window-live-p (nth 1 state))
(select-window (nth 1 state) 'norecord)))
(defmacro with-selected-window (window &rest body)
"Execute the forms in BODY with WINDOW as the selected window.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment