In the answer to this question, the author posted a function that, in an export, shows only the headline of an entry if the tag is exportHeadlineOnly.

It is possible to hide the tags in a list-typed variable that can be customized, like export does with org-export-exclude-tags to completely hide some tags, so that one can dynamically decide to hide tags in the current buffer without changing the ~/.emacs file?


So, I decided to modify the condition to read (when (and org-export-hide-headlineonly (assoc-string 'exportHeadlineOnly (org-element-property :tags el))).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.