Disable cache persistence during build

* mk/default.mk (BATCH): Set `org-element-cache-persistent' to nil
when running make.
This commit is contained in:
Ihor Radchenko 2021-10-18 20:59:10 +08:00
parent 821977611c
commit d574186448
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ EMACSQ = $(EMACS) -Q
# Using emacs in batch mode.
BATCH = $(EMACSQ) -batch \
--eval '(setq vc-handled-backends nil org-startup-folded nil)'
--eval '(setq vc-handled-backends nil org-startup-folded nil org-element-cache-persistent nil)'
# Emacs must be started in toplevel directory
BATCHO = $(BATCH) \