|
From: | Daniel Gerber |
Subject: | Re: [O] Ignored in-buffer settings and after-export hook |
Date: | Thu, 29 Aug 2013 12:01:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 |
Hello,
I guess I can, but it means re-doing the mapping sources to exported file names.AFAICT, there is only one place where both the source and the output name are known: in `org-publish-file', right after a file has been published. We may add a hook there. Since, at that time, the current buffer can be anything, both file names need to be passed as arguments to the hook. Also, files skipped during the publishing process won't trigger it. What do you think?
It would be fine!
[Prev in Thread] | Current Thread | [Next in Thread] |