diff options
author | Katsumi Yamaoka <yamaoka@jpl.org> | 2008-09-25 23:09:28 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2008-09-25 23:09:28 +0000 |
commit | 4b93c9d5464797479056056d4a53304414517682 (patch) | |
tree | 2423dc9679d492449567815cd1cecd66868b237c /lisp/textmodes/texinfmt.el | |
parent | 67885e8cbe4b187a56d4b82e7b6c4a1c18645771 (diff) | |
download | emacs-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.el | 2 |
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)))) |