summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-10-06 00:23:02 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-10-06 00:23:02 +0200
commit91e26352c5a73a8a2e42b20e08dc6e6016c07aed (patch)
tree088660fb2042089803216af29192cc84f39cdda6
parent64ea67c38f39647826c0272d994cf4d5541203c2 (diff)
downloadorg-mode-91e26352c5a73a8a2e42b20e08dc6e6016c07aed.tar.gz
org-lint: Improve report
* lisp/org-lint.el (org-lint-extraneous-element-in-footnote-section): More accurate report for extraneous elements in footnotes section.
-rw-r--r--lisp/org-lint.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-lint.el b/lisp/org-lint.el
index b8d88ec..2734d74 100644
--- a/lisp/org-lint.el
+++ b/lisp/org-lint.el
@@ -844,7 +844,7 @@ Use \"export %s\" instead"
(org-element-property :commentedp e))))
nil t '(footnote-definition property-drawer))
(list (org-element-property :begin h)
- "Extraneous elements in footnote section")))))
+ "Extraneous elements in footnote section are not exported")))))
(defun org-lint-quote-section (ast)
(org-element-map ast '(headline inlinetask)