mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 22:07:49 +00:00
org-lint: Tolerate drawers in footnotes section
* lisp/org-lint.el (org-lint-extraneous-element-in-footnote-section): Tolerate drawers (e.g., logbook) as extraneous elements in a footnote section.
This commit is contained in:
parent
b42b3aaafc
commit
f0b3fa5e6e
|
@ -836,7 +836,7 @@ Use \"export %s\" instead"
|
|||
(org-element-map (org-element-contents h)
|
||||
(cl-remove-if
|
||||
(lambda (e)
|
||||
(memq e '(comment comment-block footnote-definition
|
||||
(memq e '(comment comment-block drawer footnote-definition
|
||||
property-drawer section)))
|
||||
org-element-all-elements)
|
||||
(lambda (e)
|
||||
|
|
Loading…
Reference in a new issue