From 9f35c8f1c2861ee98071df21712105d35d53f0ac Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 14 Jun 2024 14:38:01 +0300 Subject: [PATCH] Fix generation of org.texi from org.org * doc/misc/Makefile.in (org_template): Bind 'org-id-track-globally' to nil when running 'org-texinfo-export-to-texinfo-batch', to avoid searching local user files when building the Org manual. (cherry picked from commit 6a9f1b504a5a3c096afd17f3b8f8ebeca6a03ed5) --- doc/misc/Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index 89f8ec64b8e..45d6ab29615 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -248,6 +248,7 @@ define org_template $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ --eval '(setq gc-cons-threshold 50000000)' \ --eval '(setq org-confirm-babel-evaluate nil)' \ + --eval '(setq org-id-track-globally nil)' \ -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) endef -- 2.39.2