diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-09-16 08:11:26 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-09-16 08:11:26 +0000 |
commit | 1e8e64230e0b3fdf4f4045d7e7d60b455c25f0a2 (patch) | |
tree | cef624d4e3f470aa0123bb918f4115b7c241bd98 /lisp/window.el | |
parent | af998676c2d2a79db418aa25e186f174f360144f (diff) | |
download | emacs-1e8e64230e0b3fdf4f4045d7e7d60b455c25f0a2.tar.gz |
(shrink-window-if-larger-than-buffer):
Do nothing in minibuffer-only frame.
Diffstat (limited to 'lisp/window.el')
-rw-r--r-- | lisp/window.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/window.el b/lisp/window.el index b8535648307..256dbcd43d4 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -170,6 +170,7 @@ or if the window is the only window of its frame." (if (and (< 1 (count-windows)) (= (window-width) (frame-width)) (pos-visible-in-window-p (point-min) window) + (not (eq mini 'only)) (or (not mini) (< (nth 3 edges) (nth 1 (window-edges mini))) |