From d14f15ab76d60c3f65837a6d14712dadabf324bf Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Sat, 25 Jul 2020 21:53:07 +0200 Subject: [PATCH] org-capture: Update plist before finalizing * lisp/org-capture.el (org-capture-finalize): Update `org-capture-plist' with local-value before finalizing. --- lisp/org-capture.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 2cc1ce394..223ed4124 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -728,6 +728,9 @@ captured item after finalizing." (run-hooks 'org-capture-prepare-finalize-hook) + ;; Update `org-capture-plist' with the local-value + (setq org-capture-plist org-capture-current-plist) + ;; Did we start the clock in this capture buffer? (when (and org-capture-clock-was-started org-clock-marker -- 2.27.0