about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-02-23 11:59:37 +0000
committerDavid Morgan <djm_uk@protonmail.com>2023-02-23 11:59:37 +0000
commitc544812af515ba46057c200d1a2edba0aca6732f (patch)
tree10534960150aeeafd30b0dd9699b845a67c48828 /.emacs.d/lisp
parentd9dc211e015b902c5a525bea502c78dbe251191c (diff)
downloaddotfiles-c544812af515ba46057c200d1a2edba0aca6732f.tar.gz
Move envrc to after-init-hook
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-misc.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index 093c7c3..c3cc371 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -11,9 +11,8 @@
   (exec-path-from-shell-initialize))
 
 (use-package envrc
- :diminish
- :init
- (envrc-global-mode))
+  :diminish
+  :hook (after-init . envrc-global-mode))
 
 (use-package restclient
   :mode (("\\.http\\'" . restclient-mode)))