summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-05-09 16:03:12 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-05-09 16:03:12 +0200
commit18a58f7f50e52538e7a2226b83f4325e1b0a15af (patch)
tree33e80febeeffb0e09f497fcb229d763812a96799 /docs
parent25b994a565ce8035330b0a3071ee430c0282349e (diff)
make: Do not needlessly quote every comma in generated texi files
This counters Org commit 39264d3d41213085502dc0c2572f50855ea587a1.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
index d00a7e9..806376f 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: