branch: elpa/with-editor
commit 88079762936929c4b9bf1c183eb9517441342c02
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    make: Do not needlessly quote every comma in generated texi files
    
    This counters Org commit 39264d3d41213085502dc0c2572f50855ea587a1.
---
 docs/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/Makefile b/docs/Makefile
index 0eaf142b2f..99838f536c 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:

Reply via email to