Skip to content

Commit 628af7a

Browse files
committed
Recompile init.el from early-init.el
1 parent 72e4343 commit 628af7a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

early-init.el

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
(let* ((el (expand-file-name "init.el" user-emacs-directory))
2+
(elc (format "%sc" el)))
3+
4+
(unless (and
5+
(file-exists-p elc)
6+
(time-less-p
7+
(file-attribute-modification-time (file-attributes el))
8+
(file-attribute-modification-time (file-attributes elc))))
9+
(message "Recompiling init.el…")
10+
(byte-compile-file el)))

0 commit comments

Comments
 (0)