Commit 825906b8 authored by Jan Djärv's avatar Jan Djärv
Browse files

(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.
parent 69e4c7c4
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.
......
......@@ -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.
......
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