summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-08-05 23:59:30 +0200
committerGravatar Tom Willemsen2011-08-05 23:59:30 +0200
commitba3827f6d443c4c0e0fe27fb77d041f1a4d7616b (patch)
tree0b326a701c8de4c22cd8a86bb5f6507f48c311f5 /.emacs.d
parent03a3af709bfe418a9ebc17631bd854eae4182c5f (diff)
downloaddotfiles-ba3827f6d443c4c0e0fe27fb77d041f1a4d7616b.tar.gz
dotfiles-ba3827f6d443c4c0e0fe27fb77d041f1a4d7616b.zip
Only load custom-file if it exists
Diffstat (limited to '.emacs.d')
-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))