mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(resize-temp-buffer-window): Use count-screen-lines.
This commit is contained in:
parent
5e3dac3f5a
commit
586b375962
@ -1338,7 +1338,7 @@ out of view."
|
||||
temp-buffer-max-height))
|
||||
(win-height (1- (window-height)))
|
||||
(min-height (1- window-min-height))
|
||||
(text-height (window-buffer-height(selected-window)))
|
||||
(text-height (count-screen-lines))
|
||||
(new-height (max (min text-height max-height) min-height)))
|
||||
(enlarge-window (- new-height win-height)))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user