From e3a666e6ccea6667da439feabaf21e7ecb74c382 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Tue, 11 Jan 2011 19:25:28 +0100 Subject: [PATCH] In ediff-show-patch-diagnostics call display-buffer-other-window. --- lisp/ChangeLog | 3 +++ lisp/vc/ediff-ptch.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index faa0d9ba7d0..5a48ccb8b85 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-01-11 Martin Rudalics + * vc/ediff-ptch.el (ediff-show-patch-diagnostics): Use + display-buffer-other-window. + * simple.el (goto-line, compose-mail-other-window): Replace switch-to-buffer-other-window by pop-to-buffer-other-window. (pop-global-mark): Use pop-to-buffer-same-window instead of diff --git a/lisp/vc/ediff-ptch.el b/lisp/vc/ediff-ptch.el index dda60ace88e..2da46200270 100644 --- a/lisp/vc/ediff-ptch.el +++ b/lisp/vc/ediff-ptch.el @@ -472,7 +472,7 @@ are two possible targets for this patch. However, these files do not exist." (set-window-buffer ediff-window-A ediff-patch-diagnostics)) ((window-live-p ediff-window-B) (set-window-buffer ediff-window-B ediff-patch-diagnostics)) - (t (display-buffer ediff-patch-diagnostics 'not-this-window)))) + (t (display-buffer-other-window ediff-patch-diagnostics)))) ;; prompt for file, get the buffer (defun ediff-prompt-for-patch-file () -- 2.39.5