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:
parent
69e4c7c4ba
commit
825906b8af
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user