From 9587f927573725e5377e4263ea95d0fa84234bca Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 22 Nov 2021 06:17:37 +0000 Subject: (Emacs)+bindings for literate compile function Described in the edit section, just read. --- Emacs/.config/emacs/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Emacs/.config/emacs/init.el') diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el index bed923e..3e6c101 100644 --- a/Emacs/.config/emacs/init.el +++ b/Emacs/.config/emacs/init.el @@ -53,6 +53,7 @@ (defun +literate/load-config () "Load all files in +literate/output-files." + (interactive) (mapc #'(lambda (x) (load-file x)) +literate/output-files)) (defun +literate/org-files-exist () @@ -66,6 +67,7 @@ (autoload #'org-babel-tangle-file "ob-tangle") (defun +literate/compile-config () "Compile all files in +literate/org-files via org-babel-tangle." + (interactive) (message "Compiling files...") (mapc #'org-babel-tangle-file +literate/org-files) (message "Files compiled") -- cgit v1.2.3-13-gbd6f