summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-06-17 21:57:35 +0200
committerAlan Pearce2019-06-17 21:57:35 +0200
commit0594d4d8232be5b4b232affe8319b400f988870a (patch)
tree003369560364dd26a4929214d31f513a8f0c3f7b /emacs
parentd694803ef3804025325ec44142ef6ad097eb8e8a (diff)
downloaddotfiles-0594d4d8232be5b4b232affe8319b400f988870a.tar.lz
dotfiles-0594d4d8232be5b4b232affe8319b400f988870a.tar.zst
dotfiles-0594d4d8232be5b4b232affe8319b400f988870a.zip
Emacs: appease evil-collection config check
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 8054272..b82a128 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -14,10 +14,6 @@
 (use-package crux
   :custom ((crux-reopen-as-root-mode t)))
 
-;;; evil pre-init
-(custom-set-variables '(evil-want-integration t)
-		      '(evil-want-keybinding nil))
-
 ;;; Styles
 
 ;; I prefer an always-visible cursor.  Feels less distracting.
@@ -170,6 +166,11 @@ With two prefix arguments, write out the day and month name."
 (use-package evil
   :demand t
   :after (undo-tree)
+  :init (progn
+	  (defvar evil-want-integration)
+	  (defvar evil-want-keybinding)
+	  (setq evil-want-integration t
+		evil-want-keybinding nil))
   :custom ((evil-shift-width 2)
            (evil-mode-line-format '(before . mode-line-front-space)))
   :general