diff options
Diffstat (limited to 'shoshin-config.org')
-rw-r--r-- | shoshin-config.org | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/shoshin-config.org b/shoshin-config.org index 0fefc03..c730ddd 100644 --- a/shoshin-config.org +++ b/shoshin-config.org @@ -72,8 +72,12 @@ if they are not automatically tacked onto your initialization file. You can set and load a separate file to keep it clean: #+begin_src emacs-lisp - (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)) #+end_src * Package Management |