|
From: | Max Nikulin |
Subject: | Re: Can a post-capture hook know which capture template I used? |
Date: | Wed, 12 Apr 2023 10:59:08 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 |
On 12/04/2023 10:46, Marcin Borkowski wrote:
I'd like to perform some actions after a successful capture. I know about `org-capture-.*-finalize-hook's, and I think `org-capture-after-finalize-hook' is the one I need, but I need to decide what action to take depending on the capture template used. How can I access it?
It does not respond to your question directly, but capture templates may have the :after-finalize property. In some cases it should allow to define a template-specific action.
(info "(org) Template elements") https://orgmode.org/manual/Template-elements.html 10.1.3.1 Template elements
[Prev in Thread] | Current Thread | [Next in Thread] |