Mercurial > hg > xemacs-beta
diff lisp/ediff/ediff-wind.el @ 32:e04119814345 r19-15b99
Import from CVS: tag r19-15b99
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:52:56 +0200 |
parents | 0293115a14e9 |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/lisp/ediff/ediff-wind.el Mon Aug 13 08:52:30 2007 +0200 +++ b/lisp/ediff/ediff-wind.el Mon Aug 13 08:52:56 2007 +0200 @@ -535,8 +535,12 @@ (if use-same-frame (let ((window-min-height 1)) - ;; avoid dedicated and non-splittable windows - (ediff-skip-unsuitable-frames) + (if (and (eq frame-A frame-B) + (eq frame-B frame-C) + (frame-live-p frame-A)) + (select-frame frame-A) + ;; avoid dedicated and non-splittable windows + (ediff-skip-unsuitable-frames)) (delete-other-windows) (setq merge-window-lines (max 2 (round (* (window-height) merge-window-share)))) @@ -698,8 +702,10 @@ (if use-same-frame (let (wind-width-or-height) ; this affects 3way setups only - ;; avoid dedicated and non-splittable windows - (ediff-skip-unsuitable-frames) + (if (and (eq frame-A frame-B) (frame-live-p frame-A)) + (select-frame frame-A) + ;; avoid dedicated and non-splittable windows + (ediff-skip-unsuitable-frames)) (delete-other-windows) (switch-to-buffer buf-A) (setq wind-A (selected-window))