Load custom-file if it exists
This commit is contained in:
parent
4b4e6f551d
commit
41f18b03eb
3
init.el
3
init.el
|
@ -1325,5 +1325,8 @@
|
||||||
(with-eval-after-load 'base16-theme
|
(with-eval-after-load 'base16-theme
|
||||||
(add-hook 'after-init-hook #'my/configure-theme))
|
(add-hook 'after-init-hook #'my/configure-theme))
|
||||||
|
|
||||||
|
(when (and custom-file (file-exists-p custom-file))
|
||||||
|
(load custom-file nil 'nomessage))
|
||||||
|
|
||||||
(provide 'init)
|
(provide 'init)
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|
Loading…
Reference in a new issue