config/literate: log compilation
This commit is contained in:
parent
47efd56fd4
commit
3245c365d7
1 changed files with 3 additions and 1 deletions
|
@ -18,6 +18,7 @@ non-nil, load it too!"
|
||||||
(elc (concat +literate-config-dest-file "c")))
|
(elc (concat +literate-config-dest-file "c")))
|
||||||
;; If config is pre-compiled, then load that
|
;; If config is pre-compiled, then load that
|
||||||
(when (file-newer-than-file-p org elc)
|
(when (file-newer-than-file-p org elc)
|
||||||
|
(message "Compiling your literate config...")
|
||||||
;; We tangle in a separate, blank process because loading it here would load
|
;; We tangle in a separate, blank process because loading it here would load
|
||||||
;; all of :lang org, which will be more expensive than it needs to be.
|
;; all of :lang org, which will be more expensive than it needs to be.
|
||||||
(or (zerop (call-process
|
(or (zerop (call-process
|
||||||
|
@ -28,7 +29,8 @@ non-nil, load it too!"
|
||||||
(error "There was a problem tangling your literate config!"))
|
(error "There was a problem tangling your literate config!"))
|
||||||
;; Then byte-compile it!
|
;; Then byte-compile it!
|
||||||
(require 'bytecomp)
|
(require 'bytecomp)
|
||||||
(byte-compile-file +literate-config-dest-file load))))
|
(byte-compile-file +literate-config-dest-file load)
|
||||||
|
(message "Done!"))))
|
||||||
|
|
||||||
;; Let 'er rip!
|
;; Let 'er rip!
|
||||||
(+literate-compile)
|
(+literate-compile)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue