diff options
| -rw-r--r-- | lisp/dired.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 7dd5872b246..9fb0bd33cd4 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -2151,7 +2151,7 @@ if there are no flagged files." | |||
| 2151 | ;; let window shrink to fit: | 2151 | ;; let window shrink to fit: |
| 2152 | (let ((window (selected-window)) | 2152 | (let ((window (selected-window)) |
| 2153 | target-lines w2) | 2153 | target-lines w2) |
| 2154 | (cond ;; if split-window-threshold is enabled, use the largest window | 2154 | (cond ;; if split-height-threshold is enabled, use the largest window |
| 2155 | ((and (> (window-height (setq w2 (get-largest-window))) | 2155 | ((and (> (window-height (setq w2 (get-largest-window))) |
| 2156 | split-height-threshold) | 2156 | split-height-threshold) |
| 2157 | (= (frame-width) (window-width w2))) | 2157 | (= (frame-width) (window-width w2))) |