From ba3827f6d443c4c0e0fe27fb77d041f1a4d7616b Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 5 Aug 2011 23:59:30 +0200 Subject: Only load custom-file if it exists --- .emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3-54-g00ecf