On Fri, Sep 08, 2023 at 12:38:07PM +0000, Ihor Radchenko wrote: > Did you consider :kill-buffer property in `org-capture-templates'? > > :kill-buffer If the target file was not yet visited by a buffer when > capture was invoked, kill the buffer again after capture > is finalized. > > Or do you mean that you sometimes want to kill the target org buffer and > sometimes not?
Yes, I mean that I sometimes want to kill the target org buffer and sometimes not. I don't want to kill the target buffer as the default behavior of my capture template.