1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-05 20:43:08 +00:00

(fit-window-to-buffer): Remove setting of window-min-height

to 1 as enlarge-window uses the value to resize/shrink windows other than
WINDOW if needed.
This commit is contained in:
Jan Djärv 2007-07-09 12:00:56 +00:00
parent 69e4c7c4ba
commit 825906b8af
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2007-07-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* window.el (fit-window-to-buffer): Remove setting of window-min-height
to 1 as enlarge-window uses the value to resize/shrink windows other than
WINDOW if needed.
2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
* cus-start.el (file-coding-system-alist): Fix custom type.

View File

@ -645,10 +645,7 @@ header-line."
;; desired-height lines, constrained by MIN-HEIGHT and MAX-HEIGHT.
(- (max (min desired-height max-height)
(or min-height window-min-height))
window-height))
;; We do our own height checking, so avoid any restrictions due to
;; window-min-height.
(window-min-height 1))
window-height)))
;; Don't try to redisplay with the cursor at the end
;; on its own line--that would force a scroll and spoil things.