aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-04-19 19:07:29 +0000
committerGerd Moellmann2000-04-19 19:07:29 +0000
commit586b375962fa25da41109d6d55206bf85e1acc81 (patch)
tree4a86899477410c29d33eb6a16fbfcf268c9ab6c2
parent5e3dac3f5a4f619984928931af2e4e8ba7c87b9e (diff)
downloademacs-586b375962fa25da41109d6d55206bf85e1acc81.tar.gz
emacs-586b375962fa25da41109d6d55206bf85e1acc81.zip
(resize-temp-buffer-window): Use count-screen-lines.
-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