aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/init.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-11-22 06:17:37 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-11-22 06:20:05 +0000
commit9587f927573725e5377e4263ea95d0fa84234bca (patch)
tree2e2962015d1bf4189dcac6bb348f933c91a0a212 /Emacs/.config/emacs/init.el
parentf1fba0ae2feaee80cc2e10c5241777f2e2ce13a8 (diff)
downloaddotfiles-9587f927573725e5377e4263ea95d0fa84234bca.tar.gz
dotfiles-9587f927573725e5377e4263ea95d0fa84234bca.tar.bz2
dotfiles-9587f927573725e5377e4263ea95d0fa84234bca.zip
(Emacs)+bindings for literate compile function
Described in the edit section, just read.
Diffstat (limited to 'Emacs/.config/emacs/init.el')
-rw-r--r--Emacs/.config/emacs/init.el2
1 files changed, 2 insertions, 0 deletions
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")