From 5efb8d17e28c13ffb4e2930c89fa80d5ef494341 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Fri, 14 Jun 2024 07:11:41 +0000 Subject: Update org-capture-templates to not cause a warning --- emacs/init.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 43d548f..08b6f87 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -248,17 +248,19 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (setopt org-log-done 'time) (setopt org-return-follows-link t) (setopt org-agenda-files '("~/data/notes/notes.org")) -(setopt org-capture-templates `(("j" "Journal" entry (file+datetree "~/data/notes/notes.org") "* %?\n" :empty-lines 1) - ("w" "Website" entry (file+datetree "~/data/notes/notes.org") "* %a\n%?\n" :empty-lines 1) - ("c" "Contact" entry (file+datetree "~/data/notes/notes.org") - "* %^{Name} +(setopt org-capture-bookmark nil) +(setopt org-capture-templates '(("j" "Journal" entry (file+olp+datetree "~/data/notes/notes.org") "* %?\n" :empty-lines 1) + ("w" "Website" entry (file+olp+datetree "~/data/notes/notes.org") "* %a\n%?\n" :empty-lines 1) + ("c" "Contact" entry (file+olp+datetree "~/data/notes/notes.org") + "* %^{Name} :PROPERTIES: :ADDRESS: %^{Address} :BIRTHDAY: %^{yyyy-mm-dd} :EMAIL: %^{EMAIL}p :NOTE: %^{NOTE} :END:" - :empty-lines 1))) + :empty-lines 1) + )) (setopt org-agenda-block-separator ?─) (setopt org-agenda-time-grid '((daily today require-timed) -- cgit 1.4.1-2-gfad0