Subject: bug#7533: 24.0.50; `dired-mark-pop-up': delete frame afterwards if `pop-up-frames'

From: martin rudalics <[email-masked]>
Date: Fri, 03 Dec 2010 19:41:43 +0100

> What I'm interested in is a fix for this bug - in the next Emacs release.

Meanwhile we should restore the old behavior.  Chong could
you please apply the attached patch.

martin

*** /lisp/dired.el	2010-11-10 10:58:50.000000000 +0100
--- /lisp/dired.el	2010-12-03 19:31:02.234375000 +0100
***************
*** 2757,2763 ****
  		    ;; that's possible.  (Bug#1806)
  		    (split-window-vertically))
  	       ;; Otherwise, try to split WINDOW sensibly.
! 	       (split-window-sensibly window)))))
      (pop-to-buffer (get-buffer-create buf)))
    ;; If dired-shrink-to-fit is t, make its window fit its contents.
    (when dired-shrink-to-fit
--- 2757,2764 ----
  		    ;; that's possible.  (Bug#1806)
  		    (split-window-vertically))
  	       ;; Otherwise, try to split WINDOW sensibly.
! 	       (split-window-sensibly window))))
! 	pop-up-frames)
      (pop-to-buffer (get-buffer-create buf)))
    ;; If dired-shrink-to-fit is t, make its window fit its contents.
    (when dired-shrink-to-fit