branch: externals/org
commit 3684c7967247ebed953ff72c09f077e9e06b584f
Author: Ihor Radchenko <yanta...@gmail.com>
Commit: Ihor Radchenko <yanta...@gmail.com>

    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 cb6d72bdc0..5911bd08a2 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

Reply via email to