changeset 98607:234a18b5c81e

(pop-to-buffer): Fix misplacement of arg norecord in call of select-window.
author Martin Rudalics <rudalics@gmx.at>
date Fri, 10 Oct 2008 15:06:56 +0000
parents 4a3d554a7f95
children 5a0b7bb9621e
files lisp/window.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/window.el	Fri Oct 10 14:58:26 2008 +0000
+++ b/lisp/window.el	Fri Oct 10 15:06:56 2008 +0000
@@ -1063,10 +1063,10 @@
 	(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