emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is it possible to call some function after capture?
@ 2016-04-03 18:18 Marcin Borkowski
  2016-04-03 19:08 ` Adam Porter
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2016-04-03 18:18 UTC (permalink / raw)
  To: Org-Mode mailing list

Hi list,

I know about `org-capture-after-finalize-hook', but is it possible for
a function in there to know which capture template was used?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is it possible to call some function after capture?
  2016-04-03 18:18 Is it possible to call some function after capture? Marcin Borkowski
@ 2016-04-03 19:08 ` Adam Porter
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Porter @ 2016-04-03 19:08 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-03 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-03 18:18 Is it possible to call some function after capture? Marcin Borkowski
2016-04-03 19:08 ` Adam Porter

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