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:
parent
64ea67c38f
commit
91e26352c5
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue