custom: Do not require

This prevents `custom.el' from being loaded again when compiling
`init.el'.  Preventing that is necessary because the use face would
otherwise be reloaded, which would undo all changes to faces that
were done using `set-face-attribute' or similar.
This commit is contained in:
Jonas Bernoulli 2018-02-09 20:51:17 +01:00
parent 935483742c
commit 5420d5312f

View File

@ -54,6 +54,7 @@
(expand-file-name "var/epkgs/" user-emacs-directory)))
(use-package custom
:no-require t
:config
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(when (file-exists-p custom-file)