diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-12-13 09:13:37 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-12-13 09:13:37 +0100 |
commit | 7274786f6ecd626d487332507344ae862aac3023 (patch) | |
tree | b0e8367e91ea59be6cdd82570adc6fd7fdff9c75 | |
parent | 591ca3a0f375163a0362825ef9d307874dda4acb (diff) | |
parent | e491ab31c63661860730bd11a397e12a056d914e (diff) | |
download | org-mode-7274786f6ecd626d487332507344ae862aac3023.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/ox-latex.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 900cd55..21518f9 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -2707,7 +2707,8 @@ containing export options. Modify DATA by side-effect and return it." (or (string-prefix-p "\\(" value) (string-match-p "\\`\\$[^$]" value)))) ((and type (or `subscript `superscript)) - (not (org-element-map b type #'identity info t))))))) + (not (memq type (mapcar #'org-element-type + (org-element-contents b))))))))) (org-element-map data '(entity latex-fragment subscript superscript) (lambda (object) ;; Skip objects already wrapped. |