From 736b16ffb3ae01a7da1e83ed1f3cc689895a37c5 Mon Sep 17 00:00:00 2001 From: AChavali Date: Tue, 31 Dec 2019 00:15:08 +0000 Subject: ~clean up hooks --- doom.d/modules/writers.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doom.d') diff --git a/doom.d/modules/writers.org b/doom.d/modules/writers.org index 0523f86..cd43fd9 100644 --- a/doom.d/modules/writers.org +++ b/doom.d/modules/writers.org @@ -3,7 +3,8 @@ * Thesaurus #+BEGIN_SRC elisp (use-package! powerthesaurus - :after-call (pre-command-hook org-mode flyspell-mode) + :after-call (pre-command-hook text-mode) + :defer-incrementally org-mode :config (map! :localleader @@ -15,7 +16,8 @@ Powerthesaurus for thesaurus on writer files * Spelling checker #+BEGIN_SRC elisp (use-package! flyspell - :after-call (pre-command-hook org-mode) + :after-call (pre-command-hook text-mode) + :defer-incrementally org-mode :config (map! :localleader @@ -47,6 +49,7 @@ in Doom, so I need this binding #+BEGIN_SRC elisp (use-package! org-gcal :after-call (org-agenda) + :hook (org-agenda-mode-hook calendar-load-hook) :config (setq org-gcal-client-id (password-store-get "GoogleCalendar/id")) (setq org-gcal-client-secret (password-store-get "GoogleCalendar/secret")) -- cgit v1.2.3-13-gbd6f