diff options
author | Tom Willemsen | 2011-08-05 23:59:30 +0200 |
---|---|---|
committer | Tom Willemsen | 2011-08-05 23:59:30 +0200 |
commit | ba3827f6d443c4c0e0fe27fb77d041f1a4d7616b (patch) | |
tree | 0b326a701c8de4c22cd8a86bb5f6507f48c311f5 | |
parent | 03a3af709bfe418a9ebc17631bd854eae4182c5f (diff) | |
download | dotfiles-ba3827f6d443c4c0e0fe27fb77d041f1a4d7616b.tar.gz dotfiles-ba3827f6d443c4c0e0fe27fb77d041f1a4d7616b.zip |
Only load custom-file if it exists
-rw-r--r-- | .emacs.d/init.el | 3 |
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)) |