[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Is it possible to call some function after capture?
From: |
Adam Porter |
Subject: |
Re: [O] Is it possible to call some function after capture? |
Date: |
Sun, 3 Apr 2016 19:08:19 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Marcin Borkowski <mbork <at> mbork.pl> writes:
> I know about `org-capture-after-finalize-hook', but is it possible for
> a function in there to know which capture template was used?
Hi Marcin,
You might be able to use the :key property of org-capture-plist, which
records the selection key of the template used (the :template property
appears to record the contents of the filled-in template).