EXPERIMENTAL/org-latex: Small refactoring.
* EXPERIMENTAL/org-latex.el (org-latex-footnote-reference): Small refactoring.
This commit is contained in:
parent
33d764f24e
commit
02c2648a01
|
@ -873,8 +873,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
org-latex-footnote-separator)
|
||||
;; Use \footnotemark if the footnote has already been defined.
|
||||
;; Otherwise, define it with \footnote command.
|
||||
(let* ((all-seen (plist-get org-export-persistent-properties
|
||||
:seen-footnote-labels))
|
||||
(let* ((all-seen (plist-get info :seen-footnote-labels))
|
||||
(label (org-element-get-property :label footnote-reference))
|
||||
;; Anonymous footnotes are always new footnotes.
|
||||
(seenp (and label (member label all-seen)))
|
||||
|
|
Loading…
Reference in New Issue