changeset 8750:b13519279d73

(shrink-window-if-larger-than-buffer): Use frame-width, not screen-width.
author Richard M. Stallman <rms@gnu.org>
date Thu, 15 Sep 1994 03:10:00 +0000
parents db4473742de7
children 5b4ba06e910f
files lisp/window.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/window.el	Thu Sep 15 03:07:47 1994 +0000
+++ b/lisp/window.el	Thu Sep 15 03:10:00 1994 +0000
@@ -168,7 +168,7 @@
 	  (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)