summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-05-09 16:39:59 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-05-09 16:39:59 +0200
commit88079762936929c4b9bf1c183eb9517441342c02 (patch)
treef68ed24eb1cc76b1b02882e204fa4caf203362c5 /docs/Makefile
parentca902ae02972bdd6919a902be2593d8cb6bd991b (diff)
make: Do not needlessly quote every comma in generated texi files
This counters Org commit 39264d3d41213085502dc0c2572f50855ea587a1.
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 0eaf142..99838f5 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -12,6 +12,9 @@ pdf: $(PKG).pdf
ORG_ARGS = --batch -Q $(ORG_LOAD_PATH)
ORG_EVAL += --eval "(setq indent-tabs-mode nil)"
ORG_EVAL += --eval "(setq org-src-preserve-indentation nil)"
+ORG_EVAL += --eval "\
+(defun org-texinfo--sanitize-content (text)\
+ (replace-regexp-in-string \"[@@{}]\" \"@@\\&\" text))"
ORG_EVAL += --funcall org-texinfo-export-to-texinfo
redo-docs: