From 6c1c1ad453c58e24816f748d6078844059ba38af Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 20 Apr 2022 00:05:56 +0800 Subject: Why such issue occurs each time I update packages? --- .emacs.d/lisp/init-evil.el | 1 + .emacs.d/lisp/init-projectile.el | 1 + 2 files changed, 2 insertions(+) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-evil.el b/.emacs.d/lisp/init-evil.el index 78c5bfc..e8977c6 100644 --- a/.emacs.d/lisp/init-evil.el +++ b/.emacs.d/lisp/init-evil.el @@ -30,6 +30,7 @@ ;; evil-collection (when (gx/maybe-require-package 'evil-collection) + (autoload 'evil-collection-init "evil-collection") (with-eval-after-load 'evil (evil-collection-init '(xref diff --git a/.emacs.d/lisp/init-projectile.el b/.emacs.d/lisp/init-projectile.el index f9137a7..524538c 100644 --- a/.emacs.d/lisp/init-projectile.el +++ b/.emacs.d/lisp/init-projectile.el @@ -1,4 +1,5 @@ (when (gx/maybe-require-package 'projectile) + (autoload 'projectile-mode "projectile") (add-hook 'after-init-hook #'projectile-mode 'append)) (with-eval-after-load 'projectile -- cgit v1.2.3