From: Eli Zaretskii Date: Thu, 16 Jun 2022 08:06:29 +0000 (+0300) Subject: Speed up Org to Texinfo generation X-Git-Tag: emacs-29.0.90~1447^2~1709 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3cbcebd9aae16e018e167233cf0c39bfac31198;p=emacs.git Speed up Org to Texinfo generation * doc/misc/Makefile.in ($(1:.org=.texi)): Use a higher GC threshold, to speed up .org=.texi conversion. Patch by Ihor Radchenko . --- diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index d9c5173c072..1d881a5fc7f 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -248,6 +248,7 @@ emacs = "${EMACS}" -batch --no-site-file --no-site-lisp --eval '(setq load-prefe define org_template $(1:.org=.texi): $(1) ${top_srcdir}/lisp/org/ox-texinfo.el $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ + --eval '(setq gc-cons-threshold 50000000)' \ -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) endef