+org-gcal +defer to calendar-open-function called

org-gcal is only used for calendar events, thus only when the calendar
is opened should it be used
This commit is contained in:
AChavali
2020-01-05 22:52:18 +00:00
parent d1a057ab86
commit 71d28c3930

View File

@@ -48,7 +48,7 @@ in Doom, so I need this binding
** Org calendar
#+BEGIN_SRC elisp
(use-package! org-gcal
:after-call (org-agenda)
:after-call (org-agenda +calendar-open-function)
:hook (org-agenda-mode-hook calendar-load-hook)
:config
(setq org-gcal-client-id (password-store-get "GoogleCalendar/id"))