0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:07:49 +00:00

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.
This commit is contained in:
Nicolas Goaziou 2017-06-08 09:04:31 +02:00
parent 7b3ec6c105
commit c5bb67ef60

View file

@ -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