0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-22 15:18:37 +00:00

Fix bug due to new entity constant structure

* lisp/org.el (org-compute-latex-and-specials-regexp): Deal with
string elements by discarding them.
This commit is contained in:
Carsten Dominik 2010-06-29 11:47:42 +02:00
parent f255546425
commit 025a96d46f

View file

@ -5189,13 +5189,17 @@ will be prompted for."
(if org-export-with-TeX-macros
(list (concat "\\\\"
(regexp-opt
(append (mapcar 'car (append org-entities-user
org-entities))
(if (boundp 'org-latex-entities)
(mapcar (lambda (x)
(or (car-safe x) x))
org-latex-entities)
nil))
(append
(delq nil
(mapcar 'car-safe
(append org-entities-user
org-entities)))
(if (boundp 'org-latex-entities)
(mapcar (lambda (x)
(or (car-safe x) x))
org-latex-entities)
nil))
'words))) ; FIXME
))
;; (list "\\\\\\(?:[a-zA-Z]+\\)")))