Prechádzať zdrojové kódy

EXPERIMENTAL/org-latex: Small refactoring.

* EXPERIMENTAL/org-latex.el (org-latex-footnote-reference): Small
  refactoring.
Nicolas Goaziou 14 rokov pred
rodič
commit
02c2648a01
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      EXPERIMENTAL/org-latex.el

+ 1 - 2
EXPERIMENTAL/org-latex.el

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