Skip to content

Commit

Permalink
Load custom-file after initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ubolonton committed Mar 28, 2020
1 parent f4cf275 commit a5f3b75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
;;; For browsing Emacs's C source. This must be set early.
(setq source-directory "~/Programming/Tools/emacs")

;;; Prefer newly edited .el files over compiled .elc files.
(setq load-prefer-newer t)

;;; Make package downloading a bit more secure.
(setq tls-checktrust 'ask)

(setq custom-file "~/.emacs.d/custom.el")
(add-hook 'after-init-hook (lambda ()
(with-demoted-errors "Error loading custom-file: %S"
(load custom-file))))

(add-to-list 'load-path "~/.emacs.d/lib")
(add-to-list 'load-path "~/.emacs.d/config")
Expand Down

0 comments on commit a5f3b75

Please sign in to comment.