From 2bfa14e6ce2011f67ee1c88f12a045a26f20e906 Mon Sep 17 00:00:00 2001 From: Random936 Date: Sun, 24 Sep 2023 20:28:43 -0700 Subject: [PATCH] Slight improvement to custom file condition --- .emacs.d/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/config.org b/.emacs.d/config.org index eab3b5e..9f32c85 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -25,7 +25,7 @@ Change location of custom file. This will stop *custom* from appending to the co #+begin_src emacs-lisp (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)) (load custom-file) #+end_src