Commit e6001b58 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

(pop-to-buffer): Fix misplacement of arg norecord in

call of select-window.
parent e6c1b5fb
2008-10-10 Martin Rudalics <rudalics@gmx.at>
* window.el (pop-to-buffer): Fix misplacement of arg norecord in
call of select-window.
2008-10-10 Jay Belanger <jay.p.belanger@gmail.com>
 
* calc/calc.el (calc-embedded-word-regexp)
......
......@@ -1063,10 +1063,10 @@ at the front of the list of recently selected ones."
(old-frame (selected-frame))
new-window new-frame)
(set-buffer buffer)
(setq new-window (display-buffer buffer other-window) norecord)
(setq new-window (display-buffer buffer other-window))
(unless (eq new-window old-window)
;; `display-buffer' has chosen another window, select it.
(select-window new-window)
(select-window new-window norecord)
(setq new-frame (window-frame new-window))
(unless (eq new-frame old-frame)
;; `display-buffer' has chosen another frame, make sure it gets
......
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