From 89775f38d5654038605ba49f8a754468fff6695f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 1 May 2021 01:20:17 -0400 Subject: [PATCH] app/calendar: remove org-gcal--notify hack This hack was PRed 4+ years ago. The package has since been improved and the original issue it tackled is very likely long gone (and is now causing wrong-number-of-arguments errors). Fixes kidd/org-gcal.el#151 --- modules/app/calendar/config.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/app/calendar/config.el b/modules/app/calendar/config.el index 4b2045dbf..27ef08979 100644 --- a/modules/app/calendar/config.el +++ b/modules/app/calendar/config.el @@ -92,8 +92,4 @@ :defer t :init (defvar org-gcal-dir (concat doom-cache-dir "org-gcal/")) - (defvar org-gcal-token-file (concat org-gcal-dir "token.gpg")) - :config - ;; hack to avoid the deferred.el error - (defun org-gcal--notify (title mes) - (message "org-gcal::%s - %s" title mes))) + (defvar org-gcal-token-file (concat org-gcal-dir "token.gpg")))