Ensure Org capture is properly initialized

This commit is contained in:
Daniel Borchmann 2025-11-22 12:15:26 +01:00
parent a7d0b70a8b
commit da6f61e028
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -429,6 +429,8 @@ history of the buffer."
(org-element-end last-seen-item)) (org-element-end last-seen-item))
;; Set up capture buffer ;; Set up capture buffer
(setq org-capture-plist nil) ; initialize new capture process, as would otherwise be done
; by `org-capture-set-plist'
(org-capture-put :key "") (org-capture-put :key "")
(org-capture-put :description "") (org-capture-put :description "")
(org-capture-put :target '(file db/org-default-refile-file)) (org-capture-put :target '(file db/org-default-refile-file))