Matt Lundin <m...@imapmail.org> writes:

>
> One hack would be to use an export hook to remove headings with a
> particular tag. E.g.,
>
> (defvar my-org-export-remove-heading-tag "killtag")
>
> (defun my-org-export-remove-headings-with-tag ()
>   (while (re-search-forward (concat ":" my-org-export-remove-heading-tag ":") 
> nil t)
>     (beginning-of-line)
>     (kill-line)))
>       
> (add-hook 
>  'org-export-preprocess-after-tree-selection-hook 
>  'my-org-export-remove-headings-with-tag)
>
> Best,
> Matt
>
Thanks Matt, I'll give that a try and see if it does what I need.

Paul


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to