summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/.emacs.d/init.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index a38dbdd3..ccfea26f 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -297,14 +297,15 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                     "C-r" #'winner-redo))
 ;;; Evil
 
+(defvar evil-want-integration)
+(defvar evil-want-keybinding)
+(eval-and-compile
+  (setq evil-want-integration t
+        evil-want-keybinding nil))
+
 (use-package evil
   :demand t
   :commands (evil-mode evil-delete-buffer evil-ex-define-cmd)
-  :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 nil))
   :config (evil-mode +1)