aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2003-05-24 11:12:13 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2003-05-24 11:12:13 +0000
commitc232db97ddd85378a90e4546ceb319c52a82a913 (patch)
treee2c77e469dbaecf61792aac3330fe1d45ee11214 /generic
parentabd8825858881d884c4374611f3ce71425aab124 (diff)
Tweak to shrink-to-fit
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-utils.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/proof-utils.el b/generic/proof-utils.el
index 9e649752..2ca5c428 100644
--- a/generic/proof-utils.el
+++ b/generic/proof-utils.el
@@ -630,7 +630,8 @@ or if the window is the only window of its frame."
;; FIXME: is count-lines too expensive for v.large
;; buffers? Probably not an issue for us, but one
;; wonders at the shrink to fit strategy.
- (+ extraline 1 (count-lines (point-min) (point-max)))))
+ ;; NB: way to calculate pixel fraction?
+ (+ extraline 2 (count-lines (point-min) (point-max)))))
;;
;; Let's shrink or expand
(cond