From 86a5b55e66648f79a835e3ebd295483359b9a4a8 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 19 Apr 2022 22:59:58 +0800 Subject: Add hook to after-init-hook by order I cannot use emacs without evil-mode ... Load it first to avoid any issue occurs during initialization. --- .emacs.d/lisp/init-evil.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.emacs.d/lisp/init-evil.el') diff --git a/.emacs.d/lisp/init-evil.el b/.emacs.d/lisp/init-evil.el index 0539784..78c5bfc 100644 --- a/.emacs.d/lisp/init-evil.el +++ b/.emacs.d/lisp/init-evil.el @@ -1,5 +1,5 @@ (when (gx/maybe-require-package 'evil) - (add-hook 'after-init-hook (lambda () (evil-mode 1)))) + (add-hook 'after-init-hook (lambda () (evil-mode 1)) 'append)) (setq evil-want-integration t evil-want-C-u-scroll t -- cgit v1.2.3