0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:37:47 +00:00

org-lint: Improve report

* lisp/org-lint.el (org-lint-extraneous-element-in-footnote-section):
  More accurate report for extraneous elements in footnotes section.
This commit is contained in:
Nicolas Goaziou 2016-10-06 00:23:02 +02:00
parent 64ea67c38f
commit 91e26352c5

View file

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