fix: only load custom-file if it already exists

This commit is contained in:
Łukasz Pankowski 2019-07-23 22:44:45 +02:00
parent 1d2aa8271c
commit c7dd145535

View File

@ -1038,4 +1038,5 @@ Argument FRAMES has the same meaning as for `set-frame-font'"
(setq custom-file "~/.emacs.d/custom.el") (setq custom-file "~/.emacs.d/custom.el")
(load custom-file) (if (file-exists-p custom-file)
(load custom-file))