[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Add a hook with #+BIND?
From: |
Christian Moe |
Subject: |
[Orgmode] Add a hook with #+BIND? |
Date: |
Wed, 17 Nov 2010 13:28:30 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
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
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, (continued)
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, Samuel Wales, 2010/11/16
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, John Hendy, 2010/11/16
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, John Hendy, 2010/11/16
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, Eric S Fraga, 2010/11/17
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, John Hendy, 2010/11/17
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, Eric S Fraga, 2010/11/17
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, Samuel Wales, 2010/11/23
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, Eric S Fraga, 2010/11/24
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, Samuel Wales, 2010/11/23
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, Christian Moe, 2010/11/17
- [Orgmode] Add a hook with #+BIND?,
Christian Moe <=
- Re: [Orgmode] Re: HTML export and blogging to blogger.com, John Hendy, 2010/11/18
Re: [Orgmode] Re: HTML export and blogging to blogger.com, Nick Dokos, 2010/11/16
Re: [Orgmode] Re: HTML export and blogging to blogger.com, Samuel Wales, 2010/11/17
Re: [Orgmode] Re: HTML export and blogging to blogger.com, Nick Dokos, 2010/11/17
Re: [Orgmode] Re: HTML export and blogging to blogger.com, Samuel Wales, 2010/11/23
Re: [Orgmode] Re: HTML export and blogging to blogger.com, Tim Burt, 2010/11/17
Re: [Orgmode] Re: HTML export and blogging to blogger.com, Samuel Wales, 2010/11/23