From 89422b864d0faf7bab9d398f3acd0410c7cc673d Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 16 Dec 2020 19:12:05 -0600 Subject: Update tangled files --- init.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 5230d23..71d8816 100644 --- a/init.el +++ b/init.el @@ -1,7 +1,10 @@ ;; init.el -*- lexical-binding: t -*- -(let ((conf (expand-file-name "config" - user-emacs-directory))) - (unless (load conf 'no-error) +(let* ((conf (expand-file-name "config" + user-emacs-directory)) + (conf-el (concat conf ".el")) + (conf-org (concat conf ".org"))) + (unless (and (file-newer-than-file-p conf-el conf-org) + (load conf 'no-error)) (require 'org) - (org-babel-load-file (concat conf ".org")))) + (org-babel-load-file conf-org))) -- cgit 1.4.1-21-gabe81