mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-23 07:18:53 +00:00
mk: Prevent search local id: db when building manuals
* mk/org-fixup.el (org-make-manual): (org-make-guide): (org-make-manuals): Disable local ID db when building Org documentation. This makes sure that local IDs on the build machine can never influence the build process. Reported-by: Eli Zaretskii <eliz@gnu.org> Link: https://yhetil.org/emacs-devel/868qzd9hjg.fsf@gnu.org/
This commit is contained in:
parent
d7b5c19daa
commit
13fdbf73ff
@ -30,14 +30,18 @@
|
||||
"Generate the Texinfo file out of the Org manual."
|
||||
(require 'ox-texinfo)
|
||||
(find-file "../doc/org-manual.org")
|
||||
(let ((org-confirm-babel-evaluate nil))
|
||||
(let ((org-confirm-babel-evaluate nil)
|
||||
;; We do not want to search local user files when building manuals.
|
||||
(org-id-track-globally nil))
|
||||
(org-texinfo-export-to-texinfo)))
|
||||
|
||||
(defun org-make-guide ()
|
||||
"Generate the Texinfo file out of the Org guide."
|
||||
(require 'ox-texinfo)
|
||||
(find-file "../doc/org-guide.org")
|
||||
(let ((org-confirm-babel-evaluate nil))
|
||||
(let ((org-confirm-babel-evaluate nil)
|
||||
;; We do not want to search local user files when building manuals.
|
||||
(org-id-track-globally nil))
|
||||
(org-texinfo-export-to-texinfo)))
|
||||
|
||||
(make-obsolete 'org-make-manuals
|
||||
@ -48,7 +52,9 @@
|
||||
(require 'ox-texinfo)
|
||||
(dolist (manual '("../doc/org-manual.org" "../doc/org-guide.org"))
|
||||
(find-file manual)
|
||||
(let ((org-confirm-babel-evaluate nil))
|
||||
(let ((org-confirm-babel-evaluate nil)
|
||||
;; We do not want to search local user files when building manuals.
|
||||
(org-id-track-globally nil))
|
||||
(org-texinfo-export-to-texinfo))))
|
||||
|
||||
(defun org-make-org-version (org-release org-git-version)
|
||||
|
Loading…
Reference in New Issue
Block a user