aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-14 23:38:25 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-14 23:39:16 +0100
commite47cb46fbf4ed4341583179a2aa0e8ca610848b5 (patch)
treebeb865c2fdc32024d724423a1981eae05985ccf3 /Emacs/.config/emacs
parente6ebbebdd90f04fc5e889cd1fce422008fdfd740 (diff)
downloaddotfiles-e47cb46fbf4ed4341583179a2aa0e8ca610848b5.tar.gz
dotfiles-e47cb46fbf4ed4341583179a2aa0e8ca610848b5.tar.bz2
dotfiles-e47cb46fbf4ed4341583179a2aa0e8ca610848b5.zip
~constant names
Diffstat (limited to 'Emacs/.config/emacs')
-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))