Update .emacs.d/early-init.el

This commit is contained in:
Anthony Rodriguez 2024-07-05 03:03:21 +02:00
parent 16005b714f
commit e07753d8fa

View file

@ -5,8 +5,7 @@
;; 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)