From e6001b58231de00b00e19f9e11d3cf2290ab0138 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Fri, 10 Oct 2008 15:07:28 +0000 Subject: [PATCH] (pop-to-buffer): Fix misplacement of arg norecord in call of select-window. --- lisp/ChangeLog | 5 +++++ lisp/window.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.5