From e47cb46fbf4ed4341583179a2aa0e8ca610848b5 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 14 Aug 2020 23:38:25 +0100 Subject: ~constant names --- Emacs/.config/emacs/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Emacs/.config') 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)) -- cgit v1.2.3-13-gbd6f