aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Emacs/.config/emacs/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el
index 9b7a855..329aadd 100644
--- a/Emacs/.config/emacs/init.el
+++ b/Emacs/.config/emacs/init.el
@@ -17,8 +17,9 @@
;; Load literate
(setq user-emacs-directory "~/.config/emacs/")
-(defconst +literate/files (list "config.org"))
-(defconst +literate/output-files (mapcar #'(lambda (x) (replace-regexp-in-string ".org" ".el" x)) +literate/files))
+(defconst +literate/org-files (list (concat user-emacs-directory "config.org")))
+(defconst +literate/output-files
+ (mapcar #'(lambda (x) (replace-regexp-in-string ".org" ".el" x)) +literate/org-files))
(defun +literate/load-config ()
(mapc #'(lambda (x) (load-file (concat user-emacs-directory x))) +literate/output-files))