From 4e2104cdf751676bf4d39713800b7d3731659d5b Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 21 Apr 2024 12:41:41 +0200 Subject: [PATCH] [emacs] Append date when inserting calendar event. If the date is not present, org-gcal appends it. However, it requires full date+time timestamp specification which is not always appropriate. --- emacs/.config/emacs/conf/conf-calendar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.config/emacs/conf/conf-calendar.el b/emacs/.config/emacs/conf/conf-calendar.el index 4605951..06dfb38 100644 --- a/emacs/.config/emacs/conf/conf-calendar.el +++ b/emacs/.config/emacs/conf/conf-calendar.el @@ -80,7 +80,7 @@ (setq cfw:org-capture-template '("c" "calendar event" entry (function conf:get-org-file-for-calendar-id) - "\n* %?")) + "\n* %?\n:org-gcal:\n%^t\n:END:\n\n")) (add-to-list 'org-capture-templates cfw:org-capture-template) (defun conf:org-gcal-delete-at-point () -- 2.39.5