emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] run a function during capture


From: Alan Schmitt
Subject: Re: [O] run a function during capture
Date: Mon, 23 Jan 2017 14:49:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

On 2017-01-19 12:11, Nick Dokos <address@hidden> writes:

> 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.

Thanks, this was most helpful. org-capture-prepare-finalize-hook worked
great.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-12: 404.48, 2015-12: 401.85

Attachment: signature.asc
Description: PGP signature


reply via email to

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