aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-05-09 16:02:03 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-05-09 16:02:03 +0200
commitd111925220db9f93ef5ccaa32de48695f0cb8968 (patch)
tree2345780e88ac3f283fb7b7d0f72a9e55bb422799 /docs
parente65dce2a04003dd3f839e5a8d5d189c7526e9fb9 (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 5d2d484..145e341 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -18,6 +18,9 @@ ORG_ARGS = --batch -Q $(ORG_LOAD_PATH) -l ol-man
ORG_EVAL += --eval "(progn $$ORG_MAN_EXPORT)"
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: