Re: org-attach-attach in an org-capture template?

2021-04-30 Thread Ihor Radchenko
Tim Visher writes: > I also believe I could do this with one of the org-capture hooks but > examining them I didn't see the obvious right one to add my function to. I > would think it would be the org-capture-prepare-finalize-hook and I may > just give that a try. Capture hooks should be the

org-attach-attach in an org-capture template?

2021-04-29 Thread Tim Visher
Hi Everyone, *TL;DR:* I've recently started using org-capture and I'd like to run org-attach-attach during the expansion of a few of my templates. Doing so from a template function seems not to work (meaning a function in a template string called with %(…)). What's the best way to go about this?