diff options
| author | Kyle Meyer | 2024-05-29 00:05:46 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-06-06 15:34:58 +0300 |
| commit | c86995d07e98e6f1a48f8df791aa4164316159d9 (patch) | |
| tree | 413271b8289c9128a0d8b87a829b9a1cceaa37d7 | |
| parent | 9da2faf73b7f2e773dfb778e49ed90e58a852e43 (diff) | |
| download | emacs-c86995d07e98e6f1a48f8df791aa4164316159d9.tar.gz emacs-c86995d07e98e6f1a48f8df791aa4164316159d9.zip | |
Enable code block evaluation when generating .org manuals
* doc/misc/Makefile.in ($(1:.org=.texi)): Enable code
block evaluation in Org mode manual and other .org manuals
to produce automatically generated parts. (Bug#71394)
When testing a scratch sync to the Emacs repo, the build
failed with
make[3]: Leaving directory '/home/kyle/src/savannah/emacs--master/lisp'
Evaluate this emacs-lisp code block on your system? (yes or no)
Error: end-of-file ("Error reading from stdin")
yes-or-no-p("Evaluate this emacs-lisp code block on your system? ")
That's expected given 715148131 (org-manual: Automatically
generate export option list, 2023-07-31) and the default
org-confirm-babel-evaluate value.
| -rw-r--r-- | doc/misc/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index 2841916dc89..b26d3525a22 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in | |||
| @@ -250,6 +250,7 @@ define org_template | |||
| 250 | $(1:.org=.texi): $(1) ${top_srcdir}/lisp/org/ox-texinfo.el | 250 | $(1:.org=.texi): $(1) ${top_srcdir}/lisp/org/ox-texinfo.el |
| 251 | $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ | 251 | $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ |
| 252 | --eval '(setq gc-cons-threshold 50000000)' \ | 252 | --eval '(setq gc-cons-threshold 50000000)' \ |
| 253 | --eval '(setq org-confirm-babel-evaluate nil)' \ | ||
| 253 | -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) | 254 | -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) |
| 254 | endef | 255 | endef |
| 255 | 256 | ||