ox-latex: Tiny refactoring

* lisp/ox-latex.el (org-latex-footnote-reference): Tiny refactoring.
This commit is contained in:
Nicolas Goaziou 2018-09-22 08:45:43 +02:00
parent 408eaccf1c
commit fbb5c97bd6
1 changed files with 2 additions and 2 deletions

View File

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