]> git.eshelyaron.com Git - emacs.git/commitdiff
In ediff-show-patch-diagnostics call display-buffer-other-window.
authorMartin Rudalics <rudalics@gmx.at>
Tue, 11 Jan 2011 18:25:28 +0000 (19:25 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 11 Jan 2011 18:25:28 +0000 (19:25 +0100)
lisp/ChangeLog
lisp/vc/ediff-ptch.el

index faa0d9ba7d01969f6ca1d328c12e3f16d96d67c0..5a48ccb8b85c1aaed5b7dac9c021d3a410961734 100644 (file)
@@ -1,5 +1,8 @@
 2011-01-11  Martin Rudalics  <rudalics@gmx.at>
 
+       * 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
index dda60ace88e1e3f66252ddba9b5d33cd817675a0..2da46200270033131e3f40d8e58bdf9794c5d505 100644 (file)
@@ -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 ()