[Misc] Only load custom.el when present
This commit is contained in:
parent
05400e9366
commit
8e57752bc7
3
init.el
3
init.el
|
@ -311,7 +311,8 @@ _h_ _l_ _o_k _y_ank
|
||||||
:tag "Personal settings")
|
:tag "Personal settings")
|
||||||
|
|
||||||
(setq custom-file (expand-file-name "custom.el" emacs-d))
|
(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 cl-lib)
|
||||||
(use-package subr-x)
|
(use-package subr-x)
|
||||||
|
|
Loading…
Reference in New Issue