(shrink-window-if-larger-than-buffer):
Use frame-width, not screen-width.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user