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-projectile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.emacs.d/lisp/init-projectile.el') diff --git a/.emacs.d/lisp/init-projectile.el b/.emacs.d/lisp/init-projectile.el index 4169387..f9137a7 100644 --- a/.emacs.d/lisp/init-projectile.el +++ b/.emacs.d/lisp/init-projectile.el @@ -1,5 +1,5 @@ (when (gx/maybe-require-package 'projectile) - (add-hook 'after-init-hook #'projectile-mode)) + (add-hook 'after-init-hook #'projectile-mode 'append)) (with-eval-after-load 'projectile (gx/diminish 'projectile-mode)) -- cgit v1.2.3