From c42a5342dd372234e527ba1aa818234da5b2f37d Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 25 Mar 2021 09:58:10 +0000 Subject: (Emacs)+byte compilation and messages to +literate/compile-config --- Emacs/.config/emacs/init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el index c88e3fa..bed923e 100644 --- a/Emacs/.config/emacs/init.el +++ b/Emacs/.config/emacs/init.el @@ -66,7 +66,13 @@ (autoload #'org-babel-tangle-file "ob-tangle") (defun +literate/compile-config () "Compile all files in +literate/org-files via org-babel-tangle." - (mapc #'org-babel-tangle-file +literate/org-files)) + (message "Compiling files...") + (mapc #'org-babel-tangle-file +literate/org-files) + (message "Files compiled") + + (message "Byte-compiling files...") + (mapc #'(lambda (file) (byte-compile-file file)) +literate/output-files) + (message "Files byte-compiled")) ;; Killing Emacs hook (add-hook -- cgit v1.2.3-13-gbd6f