From f0b3fa5e6ed670218e5b3314bc803007d18bda5e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 6 Oct 2016 00:18:50 +0200 Subject: [PATCH] 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. --- lisp/org-lint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-lint.el b/lisp/org-lint.el index b8d88ecad..429e4717c 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) -- 2.11.4.GIT