Commit ad656bdc authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(shrink-window-if-larger-than-buffer):

Use frame-width, not screen-width.
parent 2677ad61
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment