Update .emacs.d/init.el

This commit is contained in:
Anthony Rodriguez 2024-07-04 14:25:45 +02:00
parent 3d501ca841
commit dc99696800

View file

@ -5,7 +5,8 @@
;; Function to tangle the org file ;; Function to tangle the org file
(defun tangle-org-config () (defun tangle-org-config ()
(require 'org) (require 'org)
(org-babel-tangle-file org-config-file)) (org-babel-tangle-file org-config-file)
(load tangled-init-file))
;; Check if config.org is newer than init.el and tangle if necessary ;; Check if config.org is newer than init.el and tangle if necessary
(when (file-newer-than-file-p org-config-file tangled-init-file) (when (file-newer-than-file-p org-config-file tangled-init-file)