aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/window.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-09-15 03:10:00 +0000
committerRichard M. Stallman <[email protected]>1994-09-15 03:10:00 +0000
commitad656bdc4ece20f0662b5877b3de6c20afb9f868 (patch)
tree8e104b6bdae696751d8dfacf9528e0a2b9dadaa9 /lisp/window.el
parent2677ad61f5da8a85dfd2b8f004275de88823e1fe (diff)
(shrink-window-if-larger-than-buffer):
Use frame-width, not screen-width.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 305df62188..b853564830 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -168,7 +168,7 @@ or if the window is the only window of its frame."
(mini (cdr (assq 'minibuffer (frame-parameters))))
(edges (window-edges (selected-window))))
(if (and (< 1 (count-windows))
- (= (window-width) (screen-width))
+ (= (window-width) (frame-width))
(pos-visible-in-window-p (point-min) window)
(or (not mini)
(< (nth 3 edges)