diff options
author | Case Duckworth | 2021-04-19 16:15:44 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-19 16:15:44 -0500 |
commit | 5be5b704b134b11f6658b53db4b6d74dc8c08f55 (patch) | |
tree | 0a45cf9d966e17c9841ce0ae74ecaa076be2176b | |
parent | Tweak `org-table-copy-down' (diff) | |
download | emacs-5be5b704b134b11f6658b53db4b6d74dc8c08f55.tar.gz emacs-5be5b704b134b11f6658b53db4b6d74dc8c08f55.zip |
Handle cases where ~/.emacs/pkg doesn't exist
-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 | ||