summaryrefslogtreecommitdiff
path: root/lisp/textmodes/texinfmt.el
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2008-09-25 23:09:28 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2008-09-25 23:09:28 +0000
commit4b93c9d5464797479056056d4a53304414517682 (patch)
tree2423dc9679d492449567815cd1cecd66868b237c /lisp/textmodes/texinfmt.el
parent67885e8cbe4b187a56d4b82e7b6c4a1c18645771 (diff)
downloademacs-4b93c9d5464797479056056d4a53304414517682.tar.gz
* 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.
Diffstat (limited to 'lisp/textmodes/texinfmt.el')
-rw-r--r--lisp/textmodes/texinfmt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 412c25aa091..ad7c3c89c8c 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -166,7 +166,7 @@ and don't split the file if large. You can use `Info-tagify' and
(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))))