diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-09-22 08:45:43 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-09-22 08:45:43 +0200 |
commit | fbb5c97bd6397cefaeafb50a631d036f574a8e42 (patch) | |
tree | 587f1128fe3d798d2e9465d8f87f37e4c21e0e8e | |
parent | 408eaccf1c004144bb950e8d3e55c8198fc2f281 (diff) | |
download | org-mode-fbb5c97bd6397cefaeafb50a631d036f574a8e42.tar.gz |
ox-latex: Tiny refactoring
* lisp/ox-latex.el (org-latex-footnote-reference): Tiny refactoring.
-rw-r--r-- | lisp/ox-latex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 28a02b0..ebb2b6e 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -1883,8 +1883,8 @@ CONTENTS is nil. INFO is a plist holding contextual information." ((or (org-element-lineage footnote-reference '(footnote-reference footnote-definition table-cell)) - (and (org-element-lineage footnote-reference '(item)) - (org-element-secondary-p footnote-reference))) + (eq 'item (org-element-type + (org-export-get-parent-element footnote-reference)))) "\\footnotemark") ;; Otherwise, define it with \footnote command. (t |