Hi Leo,
applied as 3008fb45d on maint, thanks a lot!
Best,
--
Bastien
25 Jul 2020 21:53:07 +0200
Subject: [PATCH] org-capture: Update plist before finalizing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* lisp/org-capture.el (org-capture-finalize): Update
`org-capture-plist' with local-value before finalizing.
We
uld have unforeseen effects, since
> `org-capture-list' is already meant to be transient, and we’d only be
> expanding its use from init-only to init-and-exit.
Thanks for the detailed write-up and the patch (and sorry for the slow
reply). Based on a quick glance, I too think this would
I needed a similar workaround in doct:
https://github.com/progfolio/doct/blob/80d291e5f1cbdabd4eb7f88c917653c59d3f14be/doct.el#L589-L592
I restore `org-capture-plist' to the value of
`org-capture-current-plist' after the
`org-capture-before-finalize-hook' is run.
As of:
https://code.orgmo
-capture-plist' early in `org-capture-finalize'.
I don’t think this would have unforeseen effects, since
`org-capture-list' is already meant to be transient, and we’d only be
expanding its use from init-only to init-and-exit.
HTH,
--
Leo Vivier
>From d14f15ab76d60c3f65837a6d1471