* Hooks org-publish-before-export-hook, org-publish-after-export-hook no longer in use?
@ 2013-10-12 10:13 Iannis Zannos
2013-11-04 12:15 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Iannis Zannos @ 2013-10-12 10:13 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
Hello,
it appears that in org-mode 8.x the hooks org-publish-before-export-hook
and org-publish-after-export-hook are no longer used. I did a search in the
source code of org-mode 8.2.1 downloaded from
http://orgmode.org/org-8.2.1.zip, and then looked for one of the hooks
with:
find ./ -name "*.el" -exec grep -H -n "org-publish-before" '{}' \; -print
No entries were found.
Instead, the method for customizing export seems to have been changed to
accept a list of publishing functions in a project-alist:
find ./ -name "*.el" -exec grep -H -n "publishing-function" '{}' \; -print
gives the related code in lines 650-662 of file lisp/ox-publish-el.
If the above is correct, then the org-mode manual should be updated to
reflect the change, at page:
http://orgmode.org/worg/org-configs/org-hooks.html
Cheers,
Iannis Zannos
[-- Attachment #2: Type: text/html, Size: 1473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Hooks org-publish-before-export-hook, org-publish-after-export-hook no longer in use?
2013-10-12 10:13 Hooks org-publish-before-export-hook, org-publish-after-export-hook no longer in use? Iannis Zannos
@ 2013-11-04 12:15 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-11-04 12:15 UTC (permalink / raw)
To: Iannis Zannos; +Cc: emacs-orgmode
Hi Iannis,
Iannis Zannos <zannos@gmail.com> writes:
> If the above is correct, then the org-mode manual should be updated
> to reflect the change, at page:
> http://orgmode.org/worg/org-configs/org-hooks.html
This page was obsolete, I deleted it from the server.
Please use this link instead:
http://orgmode.org/worg/doc.html#hooks
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-04 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-12 10:13 Hooks org-publish-before-export-hook, org-publish-after-export-hook no longer in use? Iannis Zannos
2013-11-04 12:15 ` Bastien
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).