aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-03-25 09:58:10 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-03-25 09:58:10 +0000
commitc42a5342dd372234e527ba1aa818234da5b2f37d (patch)
tree4e78cbf050da9cbe008a5c6baabaa7b93458792c /Emacs
parent9fad8c45f87eaba6dcd2acc0a5ef7496a41c8118 (diff)
downloaddotfiles-c42a5342dd372234e527ba1aa818234da5b2f37d.tar.gz
dotfiles-c42a5342dd372234e527ba1aa818234da5b2f37d.tar.bz2
dotfiles-c42a5342dd372234e527ba1aa818234da5b2f37d.zip
(Emacs)+byte compilation and messages to +literate/compile-config
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/init.el8
1 files changed, 7 insertions, 1 deletions
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