summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-02-02 20:39:40 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2012-02-02 20:39:40 +0100
commitacd743bdc0a42ce2935e67e15a1da49ca5fa4416 (patch)
treec48a6c2a26ba602b92f4d8098108237f731730af
parentb032a6d51bbd0c8e1be4f20dd68abfe52b328e25 (diff)
downloadorg-mode-acd743bdc0a42ce2935e67e15a1da49ca5fa4416.tar.gz
org-footnote: Fix export bug introduced by previous commit
* lisp/org-footnote.el (org-footnote-normalize): Make sure that footnotes are moved to a single place during export.
-rw-r--r--lisp/org-footnote.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 58d1982..80d5300 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -775,7 +775,8 @@ Additional note on `org-footnote-insert-pos-for-preprocessor':
((not ref-table))
;; Cases when footnotes should be inserted in one place.
((or (not (eq major-mode 'org-mode))
- org-footnote-section)
+ org-footnote-section
+ export-props)
;; Insert again the section title, if any. Ensure that title,
;; or the subsequent footnotes, will be separated by a blank
;; lines from the rest of the document. In an Org buffer,