From 3684c7967247ebed953ff72c09f077e9e06b584f Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 16 Jun 2022 07:29:06 +0800 Subject: [PATCH] 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