From c5bb67ef60e5e100245cb0f05ec4a061066d6b74 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 8 Jun 2017 09:04:31 +0200 Subject: [PATCH] ox-texinfo: Do not consider :sep value as a regexp * lisp/ox-texinfo.el (org-texinfo-item): Do not consider :sep value as a regexp. --- lisp/ox-texinfo.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index d60fa4242..2939d614d 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -933,7 +933,8 @@ contextual information." :sep))) (items (and tag (let ((tag (org-export-data tag info))) - (if split (split-string tag split t "[ \t\n]+") + (if split + (split-string tag (regexp-quote split) t "[ \t\n]+") (list tag)))))) (format "%s\n%s" (pcase items