diff options
-rw-r--r-- | init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el index 44bbefd..25e0055 100644 --- a/init.el +++ b/init.el | |||
@@ -62,7 +62,8 @@ | |||
62 | (require 'no-littering)) | 62 | (require 'no-littering)) |
63 | 63 | ||
64 | ;;; My packages | 64 | ;;; My packages |
65 | (let ((default-directory (expand-file-name "pkg/" user-emacs-directory))) | 65 | (when-let ((default-directory |
66 | (expand-file-name-exists-p "pkg/" user-emacs-directory))) | ||
66 | (normal-top-level-add-subdirs-to-load-path)) | 67 | (normal-top-level-add-subdirs-to-load-path)) |
67 | 68 | ||
68 | 69 | ||