[literate] load tangled file if newer
This commit is contained in:
parent
b99b0d2221
commit
023c883031
6
init.el
6
init.el
|
@ -56,4 +56,8 @@
|
|||
(package-initialize)
|
||||
|
||||
(require 'literate-elisp)
|
||||
(literate-elisp-load "~/.emacs.d/init.org")
|
||||
(let ((file-el "~/.emacs.d/init-org")
|
||||
(file-org "~/.emacs.d/init.org"))
|
||||
(if (file-newer-than-file-p file-el file-org)
|
||||
(load file t)
|
||||
(literate-elisp-load "~/.emacs.d/init.org")))
|
||||
|
|
Loading…
Reference in New Issue