summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-12-24 17:48:17 +0000
committerYann Herklotz <git@yannherklotz.com>2022-12-24 17:48:17 +0000
commit6494b8a213dfa4102a2a9fb4201c5b74d7eb5e2e (patch)
tree407b33bbc2783899317a384ddbe44de7b134a5a8
parent5abf357e772c1356a12954ffc16b8a3af5fe8abf (diff)
downloadorg-zettelkasten-6494b8a213dfa4102a2a9fb4201c5b74d7eb5e2e.tar.gz
org-zettelkasten-6494b8a213dfa4102a2a9fb4201c5b74d7eb5e2e.zip
Speed up startup time for batch emacs
-rw-r--r--doc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index ef30253..fe0e307 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,7 +1,8 @@
EMACS := emacs
EMACSQ := $(EMACS) -Q
BATCH := $(EMACSQ) --batch \
- --eval '(setq vc-handled-backends nil org-startup-folded nil org-element-cache-persistent nil)'
+ --eval '(setq vc-handled-backends nil org-startup-folded nil org-element-cache-persistent nil)' \
+ --eval '(setq gc-cons-threshold (* 50 1000 1000))'
TEXI2HTML := makeinfo --html --number-sections --css-ref "https://www.gnu.org/software/emacs/manual.css"
TEXI2PDF := texi2pdf
TEXI2INFO := makeinfo