summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.org b/init.org
index 8c0fb14..15756e7 100644
--- a/init.org
+++ b/init.org
@@ -278,7 +278,7 @@ including files we always need, even in a terminal, with the
#+begin_src emacs-lisp :tangle yes :exports code
(add-hook 'after-init-hook #'(lambda ()
(let ((gc-cons-threshold most-positive-fixnum))
- (load custom-file) ;; Load emacs custom file
+ (when (file-exists-p custom-file) (load custom-file)) ;; Load emacs custom file
(load-file (expand-file-name "beauty.elc" user-emacs-directory))
(load-file (expand-file-name "utils.elc" user-emacs-directory))
(load-file (expand-file-name "various-comp-lang.elc" user-emacs-directory))