From: Martin Rudalics Date: Fri, 10 Oct 2008 15:07:28 +0000 (+0000) Subject: (pop-to-buffer): Fix misplacement of arg norecord in X-Git-Tag: emacs-pretest-23.0.90~2571 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6001b58231de00b00e19f9e11d3cf2290ab0138;p=emacs.git (pop-to-buffer): Fix misplacement of arg norecord in call of select-window. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index db1c1b01d3d..edddb877e72 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-10-10 Martin Rudalics + + * window.el (pop-to-buffer): Fix misplacement of arg norecord in + call of select-window. + 2008-10-10 Jay Belanger * calc/calc.el (calc-embedded-word-regexp) diff --git a/lisp/window.el b/lisp/window.el index e69634de68c..46f847f8686 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -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