diff options
Diffstat (limited to 'shoshin-config.el')
-rw-r--r-- | shoshin-config.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/shoshin-config.el b/shoshin-config.el index e57b2b5..293377d 100644 --- a/shoshin-config.el +++ b/shoshin-config.el @@ -1,7 +1,11 @@ ;;; shoshimacs.el --- Beginner's Mind Config -*- lexical-binding:t -*- -(setq custom-file "~/.emacs.d/shoshimacs-custom.el") -(load custom-file) +(let ((my-custom-file (expand-file-name + "shoshimacs-custom.el" user-emacs-directory))) + (unless (file-exists-p my-custom-file) + (make-empty-file my-custom-file)) + (setq custom-file my-custom-file) + (load custom-file)) ;;; Package Management (when (< emacs-major-version 28) |