From ff7faf958da2046298dc0c45416d79bf4b172c0a Mon Sep 17 00:00:00 2001 From: rearman Date: Wed, 19 Apr 2023 16:12:50 -0400 Subject: [PATCH] Auto-create empty custom.el instead of keeping it in repo --- init.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.org b/init.org index 864812c..289f889 100644 --- a/init.org +++ b/init.org @@ -1124,6 +1124,9 @@ I do not use the customize system. I don't want to see it if I don't have to. #+BEGIN_SRC emacs-lisp (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) +(when (not (file-exists-p custom-file)) + (make-empty-file custom-file)) + (load custom-file) #+END_SRC -- 2.39.5