Only load custom-file if it exists

This commit is contained in:
Tom Willemsen 2011-08-05 23:59:30 +02:00
parent 03a3af709b
commit ba3827f6d4

View file

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