emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Ignored in-buffer settings and after-export hook


From: Daniel Gerber
Subject: Re: [O] Ignored in-buffer settings and after-export hook
Date: Mon, 26 Aug 2013 15:48:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8

Hi,

On 26/08/2013 13:45, Nicolas Goaziou wrote:
Hello,

Daniel Gerber <address@hidden> writes:

2. Is the after-export hook gone with the new exporter framework? I used
this to get the list of a project's exported files:

     (setq html-files-list ()
                org-publish-after-export-hook
                (lambda () (add-to-list 'html-files-list
                                        (buffer-file-name
     (current-buffer)))))
     (org-publish the-org-project t)
     (print html-files-list)

but in 8.0.7 maint the hook is ignored altogether.
`org-publish-before-export-hook' and `org-publish-after-export-hook' are
not present in Org 8+, indeed. Can't you simply use
`org-export-before-parsing-hook' instead?

I guess I can, but it means re-doing the mapping sources to exported file names.

By the way, the manual points to http://orgmode.org/worg/org-configs/org-hooks.html which still lists the older hooks.

Thanks for your answer!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]