]> git.eshelyaron.com Git - emacs.git/commitdiff
(resize-temp-buffer-window): Use count-screen-lines.
authorGerd Moellmann <gerd@gnu.org>
Wed, 19 Apr 2000 19:07:29 +0000 (19:07 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 19 Apr 2000 19:07:29 +0000 (19:07 +0000)
lisp/help.el

index b36075b81142f95e3114ff04218de93ac7b23e7e..12ef3ab81e233ce01b39c98aee0d74beb6cab302 100644 (file)
@@ -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)))))