Slight improvement to custom file condition

This commit is contained in:
Random936 2023-09-24 20:28:43 -07:00
parent fe4262ae6a
commit 2bfa14e6ce

View File

@ -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