[Misc] Only load custom.el when present

This commit is contained in:
dbo 2017-10-17 22:21:10 +02:00
parent 05400e9366
commit 8e57752bc7
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 2 additions and 1 deletions

View File

@ -311,7 +311,8 @@ _h_ _l_ _o_k _y_ank
:tag "Personal settings")
(setq custom-file (expand-file-name "custom.el" emacs-d))
(load-file custom-file)
(when (file-exists-p custom-file)
(load-file custom-file))
(use-package cl-lib)
(use-package subr-x)