summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 44bb61b..67680a6 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -343,4 +343,5 @@
;; Custom file
(setq custom-file "~/.emacs.d/custom.el")
-(load custom-file)
+(if (file-exists-p custom-file)
+ (load custom-file))