emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FR] Support headline as a function for file+headline target for org


From: Ihor Radchenko
Subject: Re: [FR] Support headline as a function for file+headline target for org-capture-templates
Date: Wed, 01 May 2024 11:11:17 +0000

Nafiz Islam <nafiz.islam1001@gmail.com> writes:

> The problem with my implementation is that it modifies the org file before
> prompting the user for item entry. As a result, if I cancel/abort my
> org-capture, that modification will still be present.

You can make use of `org-capture-put' and :hook capture property to mark
a custom region to be killed on abort via `org-capture-mark-kill-region'.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]