Anton Tetov Johansson <[email protected]> writes: > * lisp/ox.el (org-export--skip-p): Skip property drawers when > :with-properties is a list and none of the drawer's properties are selected. > * testing/lisp/test-ox.el (test-org-export/handle-options): Test that > property drawer is skipped if :with-properties is a list and none of the > drawer's properties are selected. > > When `org-export-with-properties' is a list, property drawers where none > of the listed properties are present were still exported, with literal > `nil' in place of drawer contents. Skip such drawers entirely. > > TINYCHANGE
Thanks! Applied, onto main, with a small amendment - I changed explicit check for org-export-with-properties = t to accept any non-nil value instead. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=953467de8 I also added you to the contributor list. https://git.sr.ht/~bzg/worg/commit/8f212681 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
