(dired-pop-to-buffer): Fix last fix.

This commit is contained in:
Martin Rudalics 2009-05-15 18:14:03 +00:00
parent 19998f14b6
commit b50e9ccf43

View file

@ -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))