We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72e4343 commit 628af7aCopy full SHA for 628af7a
early-init.el
@@ -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