From 7f3ee582c1105c66a66fb61786c4e086e30460b4 Mon Sep 17 00:00:00 2001 Message-Id: <7f3ee582c1105c66a66fb61786c4e086e30460b4.1655362876.git.yantar92@gmail.com> In-Reply-To: <3342137359f122ed7168dc75096c6a5d3839a0c2.1655362876.git.yantar92@gmail.com> References: <3342137359f122ed7168dc75096c6a5d3839a0c2.1655362876.git.yantar92@gmail.com> From: Ihor Radchenko Date: Thu, 16 Jun 2022 07:29:06 +0800 Subject: [PATCH 5/8] doc/Makefile: Disable GC during export * doc/Makefile (org.texi): (orgguide.texi): Set `gc-cons-threshold` to `most-positive=fixnum' and thus disable garbage collection while exporting manuals. This reduces the manual generation time. --- doc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index cb6d72bdc..5911bd08a 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -31,12 +31,14 @@ org.texi: org-manual.org $(BATCH) \ --eval '(add-to-list `load-path "../lisp")' \ --eval '(load "../mk/org-fixup.el")' \ + --eval '(setq gc-cons-threshold most-positive-fixnum)' \ --eval '(org-make-manual)' orgguide.texi: org-guide.org $(BATCH) \ --eval '(add-to-list `load-path "../lisp")' \ --eval '(load "../mk/org-fixup.el")' \ + --eval '(setq gc-cons-threshold most-positive-fixnum)' \ --eval '(org-make-guide)' org-version.inc: org.texi -- 2.35.1