diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el index 28238aa..a0e072f 100644 --- a/init.el +++ b/init.el | |||
@@ -23,7 +23,7 @@ | |||
23 | (file-name-handler-alist nil) | 23 | (file-name-handler-alist nil) |
24 | ;; Config file names | 24 | ;; Config file names |
25 | (config (expand-file-name "config" | 25 | (config (expand-file-name "config" |
26 | user-emacs-directory)) | 26 | user-emacs-directory)) |
27 | (config.el (concat config ".el")) | 27 | (config.el (concat config ".el")) |
28 | (config.org (concat config ".org")) | 28 | (config.org (concat config ".org")) |
29 | (straight-org-dir (locate-user-emacs-file "straight/build/org"))) | 29 | (straight-org-dir (locate-user-emacs-file "straight/build/org"))) |
@@ -36,7 +36,7 @@ | |||
36 | ;; 2. Try to load the config. If it errors (nil), it'll bubble that | 36 | ;; 2. Try to load the config. If it errors (nil), it'll bubble that |
37 | ;; to the `and' and the body will be evaluated. | 37 | ;; to the `and' and the body will be evaluated. |
38 | (unless (and (not (file-newer-than-file-p config.org config.el)) | 38 | (unless (and (not (file-newer-than-file-p config.org config.el)) |
39 | (load config :noerror)) | 39 | (load config :noerror)) |
40 | ;; A plain require here just loads the older `org' | 40 | ;; A plain require here just loads the older `org' |
41 | ;; in Emacs' install dir. We need to add the newer | 41 | ;; in Emacs' install dir. We need to add the newer |
42 | ;; one to the `load-path', hopefully that's all. | 42 | ;; one to the `load-path', hopefully that's all. |