diff options
author | Martin Rudalics <rudalics@gmx.at> | 2009-05-15 18:14:03 +0000 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2009-05-15 18:14:03 +0000 |
commit | 0e7a0c8a3e3dfd338cb4540ab16aac1da9f9022a (patch) | |
tree | 50bc3caa9a58f39c020ce08d29650fa39f7a3e01 | |
parent | e179d0169c0a97abd2814795ddebd7afb2ea745f (diff) | |
download | emacs-0e7a0c8a3e3dfd338cb4540ab16aac1da9f9022a.tar.gz |
(dired-pop-to-buffer): Fix last fix.
-rw-r--r-- | lisp/dired.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 0ccf4b128c4..55c1245b1fa 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -2688,7 +2688,8 @@ name, or the marker and a count of marked files." "Pop up buffer BUF in a way suitable for Dired." (let ((split-window-preferred-function (lambda (window) - (or (and (window-splittable-p (selected-window)) + (or (and (let ((split-height-threshold 0)) + (window-splittable-p (selected-window))) ;; Try to split the selected window vertically if ;; that's possible. (Bug#1806) (split-window-vertically)) |