From 586b375962fa25da41109d6d55206bf85e1acc81 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 19 Apr 2000 19:07:29 +0000 Subject: [PATCH] (resize-temp-buffer-window): Use count-screen-lines. --- lisp/help.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))) -- 2.39.5