summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-10-06 00:18:50 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-10-06 00:18:50 +0200
commitf0b3fa5e6ed670218e5b3314bc803007d18bda5e (patch)
tree44a0d7275b693cf0961356ae7b6f1eb8c46ef76e
parentb42b3aaafc531d6054b424781bb4e02af1c86955 (diff)
downloadorg-mode-f0b3fa5e6ed670218e5b3314bc803007d18bda5e.tar.gz
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.
-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..429e471 100644
--- a/lisp/org-lint.el
+++ b/lisp/org-lint.el
@@ -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)