[Top][All Lists]

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

Re: [O] run a function during capture

From: Nick Dokos
Subject: Re: [O] run a function during capture
Date: Thu, 19 Jan 2017 12:11:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Alan Schmitt <address@hidden> writes:

> Hello,
> It is possible to run a function at the end of capture? I would like to
> call org-board-archive (that downloads a web page according to some
> properties) before finishing the capture?

There are three hooks that are run from org-capture-finalize:

- org-capture-prepare-finalize-hook
- org-capture-before-finalize-hook
- org-capture-after-finalize-hook

Check their documentation for when they are run and what the context is.
One of them should be good enough for what you want to do.

reply via email to

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