Slight improvement to custom file condition
This commit is contained in:
@@ -25,7 +25,7 @@ Change location of custom file. This will stop *custom* from appending to the co
|
|||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq custom-file "~/.emacs.d/custom.el")
|
(setq custom-file "~/.emacs.d/custom.el")
|
||||||
(if (not (file-exists-p custom-file))
|
(unless (file-exists-p custom-file)
|
||||||
(make-empty-file custom-file))
|
(make-empty-file custom-file))
|
||||||
(load custom-file)
|
(load custom-file)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|||||||
Reference in New Issue
Block a user