summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2010-12-04 17:43:51 -0500
committerChong Yidong <cyd@stupidchicken.com>2010-12-04 17:43:51 -0500
commit6ed96c33f0fb05488bb45fc4ed5018a0cd3e45a7 (patch)
tree7fbbc037667238b36f941aa7236ee2f92de21de0
parent37bf6ce2b49638516419b1cab86e2d891ade779e (diff)
downloademacs-6ed96c33f0fb05488bb45fc4ed5018a0cd3e45a7.tar.gz
* dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil (Bug#7533).
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 95ee06e7812..300a5dd31d5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-04 Martin Rudalics <rudalics@gmx.at>
+
+ * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
+ (Bug#7533).
+
2010-12-04 W. Martin Borgert <debacle@debian.org> (tiny change)
* files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
diff --git a/lisp/dired.el b/lisp/dired.el
index b2bd082b1a6..4472c13bab2 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2755,7 +2755,8 @@ name, or the marker and a count of marked files."
;; that's possible. (Bug#1806)
(split-window-vertically))
;; Otherwise, try to split WINDOW sensibly.
- (split-window-sensibly window)))))
+ (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