From: Gerd Moellmann Date: Wed, 19 Apr 2000 19:07:29 +0000 (+0000) Subject: (resize-temp-buffer-window): Use count-screen-lines. X-Git-Tag: emacs-pretest-21.0.90~4193 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=586b375962fa25da41109d6d55206bf85e1acc81;p=emacs.git (resize-temp-buffer-window): Use count-screen-lines. --- diff --git a/lisp/help.el b/lisp/help.el index b36075b8114..12ef3ab81e2 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -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)))))