diff options
author | Alan Pearce | 2018-06-16 20:16:38 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-16 20:16:38 +0200 |
commit | c72a3037fe988db5af5174535baf30e9b7ac395e (patch) | |
tree | 748871f5fd38f112dac8dbd339de53b29bda8dc4 | |
parent | e96620b897057a1e799cb761b3e1be375dc5609e (diff) | |
download | dotfiles-c72a3037fe988db5af5174535baf30e9b7ac395e.tar.lz dotfiles-c72a3037fe988db5af5174535baf30e9b7ac395e.tar.zst dotfiles-c72a3037fe988db5af5174535baf30e9b7ac395e.zip |
emacs: avoid error loading org files with evil-org
-rw-r--r-- | emacs/.emacs.d/main.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 700ed0d..e2c057a 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 |