Changes committed gnus/texi (ChangeLog infohack.el)

"Katsumi Yamaoka" <[email protected]> Fri, 26 Sep 2008 01:09:50 +0200
Newsgroups gmane.emacs.gnus.commits
Message-ID <[email protected]>
Modified: ChangeLog infohack.el

(infohack): Use Info-split-threshold to decide whether to split Info files.


Index: ChangeLog
diff -u gnus/texi/ChangeLog:7.427 gnus/texi/ChangeLog:7.428
--- ChangeLog:7.427	Thu Sep 25 15:14:43 2008
+++ ChangeLog	Fri Sep 26 01:09:50 2008
@@ -1,3 +1,8 @@
+2008-09-25  Katsumi Yamaoka  <[email protected]>
+
+	* infohack.el (infohack): Use Info-split-threshold to decide whether to
+	split Info files.
+
 2008-09-25  Teodor Zlatanov  <[email protected]>
 
 	* message.texi (Sending Variables): Fixed variable documentation to
Index: infohack.el
diff -u gnus/texi/infohack.el:7.9 gnus/texi/infohack.el:7.10
--- infohack.el:7.9	Wed Sep 24 09:27:01 2008
+++ infohack.el	Fri Sep 26 01:09:50 2008
@@ -112,7 +112,9 @@
 	  (expand-file-name (file-name-nondirectory buffer-file-name)
 			    default-directory))
     (setq buffer-file-coding-system coding-system)
-    (if (> (buffer-size) 100000)
+    (if (> (buffer-size) (if (boundp 'Info-split-threshold)
+			     (+ 50000 Info-split-threshold)
+			   100000))
 	(Info-split))
     (save-buffer)))