diff lisp/textmodes/texinfmt.el @ 98359:d4ebb53e6be1

* informat.el (Info-split-threshold): New variable. (Info-split): Use it. * textmodes/texinfmt.el (texinfo-format-buffer): Use Info-split-threshold to decide whether to split Info files.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 25 Sep 2008 23:09:28 +0000
parents c3512b2085a0
children a9dc0e7c3f2b
line wrap: on
line diff
--- a/lisp/textmodes/texinfmt.el	Thu Sep 25 22:10:31 2008 +0000
+++ b/lisp/textmodes/texinfmt.el	Thu Sep 25 23:09:28 2008 +0000
@@ -166,7 +166,7 @@
     (Info-tagify)
     (if nosplit
         nil
-      (if (> (buffer-size) 100000)
+      (if (> (buffer-size) (+ 50000 Info-split-threshold))
           (progn
             (message (setq lastmessage "Splitting Info file..."))
             (Info-split))))