diff options
-rw-r--r-- | config.org | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/config.org b/config.org index 70c49e4..72aeea4 100644 --- a/config.org +++ b/config.org | |||
@@ -1238,11 +1238,14 @@ from [[https://karthinks.com/software/more-batteries-included-with-emacs/#regexp | |||
1238 | inspired by [[https://protesilaos.com/dotemacs/#h:584c3604-55a1-49d0-9c31-abe46cb1f028][Protesilaos Stavrou]]. | 1238 | inspired by [[https://protesilaos.com/dotemacs/#h:584c3604-55a1-49d0-9c31-abe46cb1f028][Protesilaos Stavrou]]. |
1239 | 1239 | ||
1240 | #+begin_src emacs-lisp | 1240 | #+begin_src emacs-lisp |
1241 | (let ((conf (expand-file-name "config" | 1241 | (let* ((conf (expand-file-name "config" |
1242 | user-emacs-directory))) | 1242 | user-emacs-directory)) |
1243 | (unless (load conf 'no-error) | 1243 | (conf-el (concat conf ".el")) |
1244 | (conf-org (concat conf ".org"))) | ||
1245 | (unless (and (file-newer-than-file-p conf-el conf-org) | ||
1246 | (load conf 'no-error)) | ||
1244 | (require 'org) | 1247 | (require 'org) |
1245 | (org-babel-load-file (concat conf ".org")))) | 1248 | (org-babel-load-file conf-org))) |
1246 | #+end_src | 1249 | #+end_src |
1247 | 1250 | ||
1248 | *** early-init.el | 1251 | *** early-init.el |