aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/help.el2
1 files changed, 1 insertions, 1 deletions
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."
1338 temp-buffer-max-height)) 1338 temp-buffer-max-height))
1339 (win-height (1- (window-height))) 1339 (win-height (1- (window-height)))
1340 (min-height (1- window-min-height)) 1340 (min-height (1- window-min-height))
1341 (text-height (window-buffer-height(selected-window))) 1341 (text-height (count-screen-lines))
1342 (new-height (max (min text-height max-height) min-height))) 1342 (new-height (max (min text-height max-height) min-height)))
1343 (enlarge-window (- new-height win-height))))) 1343 (enlarge-window (- new-height win-height)))))
1344 1344