summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 700ed0d8..e2c057a2 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2704,7 +2704,8 @@ Pass ARG to `comint-delchar-or-maybe-eof'."
             (define-hook-helper org-mode ()
               (evil-org-mode +1))
             (define-hook-helper evil-org-mode ()
-              (evil-org-set-key-theme))))
+              (when (fboundp 'evil-org-set-key-theme)
+                (evil-org-set-key-theme)))))
 
 (use-package evil-org-agenda
   :if evil-mode