Add khalel capture templates in org-capture use-package block

Ensures they aren't overwritten by org-capture-templates definition.
This commit is contained in:
Evie Litherland-Smith 2024-11-05 08:15:39 +00:00
parent 00d392fc87
commit ca12bfeeab

View file

@ -944,7 +944,11 @@ Configure email with iCalendar event support, to integrate with
(file+olp "notes.org" "Inbox")) (file+olp "notes.org" "Inbox"))
("t" "Task" entry ("t" "Task" entry
(file+olp "tasks.org" "Inbox") (file+olp "tasks.org" "Inbox")
"* TODO %?\nDEADLINE: %t\n %i\n %a")))) "* TODO %?\nDEADLINE: %t\n %i\n %a")))
:config
(when (package-installed-p 'khalel)
(with-eval-after-load 'khalel
(khalel-add-capture-template))))
(when (or (package-installed-p 'emacsql-sqlite) (when (or (package-installed-p 'emacsql-sqlite)
(package-installed-p 'emacsql-sqlite-builtin)) (package-installed-p 'emacsql-sqlite-builtin))