aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-20 00:05:56 +0800
committerGuangxiong Lin <[email protected]>2022-04-20 00:05:56 +0800
commit6c1c1ad453c58e24816f748d6078844059ba38af (patch)
tree24a084acc7360e3bd062d2f350d8ea8d48c7de78 /.emacs.d
parent86a5b55e66648f79a835e3ebd295483359b9a4a8 (diff)
downloaddotfiles-6c1c1ad453c58e24816f748d6078844059ba38af.tar.gz
dotfiles-6c1c1ad453c58e24816f748d6078844059ba38af.tar.bz2
dotfiles-6c1c1ad453c58e24816f748d6078844059ba38af.zip
Why such issue occurs each time I update packages?
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-evil.el1
-rw-r--r--.emacs.d/lisp/init-projectile.el1
2 files changed, 2 insertions, 0 deletions
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