From 73464f37d8eef96fe653d1a01246b1ccdcfdf228 Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Sat, 14 Jul 2018 22:32:34 -0400 Subject: [PATCH] actually fix evil org --- conf.el | 7 +++---- conf.org | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/conf.el b/conf.el index 05b1c9a..861e358 100644 --- a/conf.el +++ b/conf.el @@ -1288,12 +1288,11 @@ and reverts all todo keywords to TODO" (use-package evil-org :ensure t - :after evil - :after org + :after (evil org) :delight + :hook (org-mode . evil-org-mode) :config - (add-hook 'org-mode-hook 'evil-org-mode) - (add-hook 'evil-org-mode-hook (lambda () (evil-org-set-key-theme))) + (add-hook 'evil-org-mode-hook 'evil-org-set-key-theme) (require 'evil-org-agenda) (evil-org-agenda-set-keys) diff --git a/conf.org b/conf.org index 37499ed..f165814 100644 --- a/conf.org +++ b/conf.org @@ -1588,9 +1588,9 @@ I like being evil. All package and custom bindings go here. :ensure t :after (evil org) :delight - :hook (org-mode) + :hook (org-mode . evil-org-mode) :config - (add-hook 'evil-org-mode-hook (lambda () (evil-org-set-key-theme))) + (add-hook 'evil-org-mode-hook 'evil-org-set-key-theme) (require 'evil-org-agenda) (evil-org-agenda-set-keys)