diff options
author | Guangxiong Lin <[email protected]> | 2022-03-13 01:12:32 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-13 01:12:32 +0800 |
commit | 36081c6ca6b25fd9c49c259d91ada5180d78a580 (patch) | |
tree | c7778697e0d3aa76f28a4c24404018953afc27eb /.emacs.d/lisp/init-projectile.el | |
parent | 38ab771977e6511d02df06cb908824707d728303 (diff) | |
download | dotfiles-36081c6ca6b25fd9c49c259d91ada5180d78a580.tar.gz dotfiles-36081c6ca6b25fd9c49c259d91ada5180d78a580.tar.bz2 dotfiles-36081c6ca6b25fd9c49c259d91ada5180d78a580.zip |
Drop use-package at all (emacs)
Diffstat (limited to '.emacs.d/lisp/init-projectile.el')
-rw-r--r-- | .emacs.d/lisp/init-projectile.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-projectile.el b/.emacs.d/lisp/init-projectile.el index 6f305b6..a1bb2fe 100644 --- a/.emacs.d/lisp/init-projectile.el +++ b/.emacs.d/lisp/init-projectile.el @@ -1,8 +1,8 @@ -(use-package projectile :ensure t :defer t) +(when (gx/maybe-require-package 'projectile) + (add-hook 'after-init-hook (lambda () (projectile-mode 1)))) (setq projectile-cache-file (expand-file-name ".cache/projectile" user-emacs-directory) projectile-require-project-root nil) -(add-hook 'after-init-hook (lambda () (projectile-mode 1))) (with-eval-after-load 'evil (evil-define-key 'normal projectile-mode-map |