Hi,

Can I use #+BIND to add an exporter hook for the current document?

For instance, I have a function to postprocess HTML exports for blog posts.

I could turn it on for all HTML exports with

: (org-add-hook 'org-export-html-final-hook 'my-org-postprocess-blog-post)

But that's not what I want, I want to turn it on for certain documents only. Can I do that with the #+BIND option, and how do I write it? For reference, I've tried the following without success.

#+BIND: org-export-html-final-hook (my-org-postprocess-blog-post)
#+BIND: org-export-html-final-hook '(my-org-postprocess-blog-post)

Yours,
Christian

_______________________________________________
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