aboutsummaryrefslogtreecommitdiff
path: root/doom.d/modules/writers.org
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2019-12-31 00:15:08 +0000
committerAChavali <aryadevchavali1@gmail.com>2019-12-31 00:31:23 +0000
commit736b16ffb3ae01a7da1e83ed1f3cc689895a37c5 (patch)
treeccfda4434d55ad6ddf5a40fb2cedf91b0e40d7d2 /doom.d/modules/writers.org
parent414a59a6c91c9b638de20e83a685bdc968530430 (diff)
downloaddotfiles-736b16ffb3ae01a7da1e83ed1f3cc689895a37c5.tar.gz
dotfiles-736b16ffb3ae01a7da1e83ed1f3cc689895a37c5.tar.bz2
dotfiles-736b16ffb3ae01a7da1e83ed1f3cc689895a37c5.zip
~clean up hooks
Diffstat (limited to 'doom.d/modules/writers.org')
-rw-r--r--doom.d/modules/writers.org7
1 files changed, 5 insertions, 2 deletions
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"))