aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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