aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-08-20 17:27:25 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-08-20 17:44:25 +0100
commit3581a8ce213269b7ea426bed0049eee63663f282 (patch)
tree98c58e981fc9df72cfe6d9e0e5260853c2c85766 /Emacs
parentbb1cdfface330c6585fa694254397c8b58351dd5 (diff)
downloaddotfiles-3581a8ce213269b7ea426bed0049eee63663f282.tar.gz
dotfiles-3581a8ce213269b7ea426bed0049eee63663f282.tar.bz2
dotfiles-3581a8ce213269b7ea426bed0049eee63663f282.zip
(Emacs)+working on an async compilation func
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/elisp/literate.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/elisp/literate.el b/Emacs/.config/emacs/elisp/literate.el
index d50553e..0a53bdd 100644
--- a/Emacs/.config/emacs/elisp/literate.el
+++ b/Emacs/.config/emacs/elisp/literate.el
@@ -86,5 +86,16 @@
(mapcar #'(lambda (file) (byte-compile-file file)) +literate/elisp-files)
(message "Finished byte-compiling"))
+(defun +literate/--async-compile ()
+ "WIP Attempting to make an asynchronous compilation function."
+ (interactive)
+ (start-process-shell-command
+ "async-compile"
+ "*literate/async-compile*"
+ (format
+ "emacs --batch --eval \"(progn (load %s\") (+literate/compile-config))\""
+ (concat user-emacs-directory "elisp/literate.el"))))
+
+
(provide 'literate)
;;; literate.el ends here