diff options
author | Richard M. Stallman <[email protected]> | 1994-09-15 03:10:00 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1994-09-15 03:10:00 +0000 |
commit | ad656bdc4ece20f0662b5877b3de6c20afb9f868 (patch) | |
tree | 8e104b6bdae696751d8dfacf9528e0a2b9dadaa9 /lisp/window.el | |
parent | 2677ad61f5da8a85dfd2b8f004275de88823e1fe (diff) |
(shrink-window-if-larger-than-buffer):
Use frame-width, not screen-width.
Diffstat (limited to 'lisp/window.el')
-rw-r--r-- | lisp/window.el | 2 |
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) |