Load a local.el file if it exists

This commit is contained in:
Jeremy Dormitzer 2022-04-22 16:59:21 -04:00
parent 224c5a6b29
commit 84c52a59c9

View File

@ -114,5 +114,7 @@
(require 'init-lola) (require 'init-lola)
(require 'handwriting) (require 'handwriting)
(load (expand-file-name (concat user-emacs-directory "local.el")) 'noerror 'nomessage)
(when (file-exists-p custom-file) (when (file-exists-p custom-file)
(load custom-file 'noerror 'nomessage)) (load custom-file 'noerror 'nomessage))