From f5a97d3842b9c169e8ec9fec0838e23c215a21bc Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 21 Apr 2024 12:41:16 +0200 Subject: [PATCH] [emacs] Format conf-calendar.el. --- emacs/.config/emacs/conf/conf-calendar.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/emacs/.config/emacs/conf/conf-calendar.el b/emacs/.config/emacs/conf/conf-calendar.el index f6d7865..4605951 100644 --- a/emacs/.config/emacs/conf/conf-calendar.el +++ b/emacs/.config/emacs/conf/conf-calendar.el @@ -49,8 +49,8 @@ :ensure t :bind (:map cfw:calendar-mode-map - ("d" . cfw:navi-goto-date-command) - ("g" . cfw:refresh-calendar-buffer)) + ("d" . cfw:navi-goto-date-command) + ("g" . cfw:refresh-calendar-buffer)) :custom (calendar-holidays holiday-christian-holidays)) @@ -70,17 +70,17 @@ (defun conf:get-org-file-for-calendar-id () (let* ((calendar-id - (completing-read "Select account: " - (mapcar 'car conf:gcal-calendar-id-org-file-map))) - (gcal-file (cdr (assoc calendar-id - conf:gcal-calendar-id-org-file-map)))) + (completing-read "Select account: " + (mapcar 'car conf:gcal-calendar-id-org-file-map))) + (gcal-file (cdr (assoc calendar-id + conf:gcal-calendar-id-org-file-map)))) (find-file gcal-file) (end-of-buffer) (open-line 2))) (setq cfw:org-capture-template - '("c" "calendar event" entry - (function conf:get-org-file-for-calendar-id) - "* %?")) + '("c" "calendar event" entry + (function conf:get-org-file-for-calendar-id) + "\n* %?")) (add-to-list 'org-capture-templates cfw:org-capture-template) (defun conf:org-gcal-delete-at-point () -- 2.39.5