From 3581a8ce213269b7ea426bed0049eee63663f282 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 20 Aug 2023 17:27:25 +0100 Subject: (Emacs)+working on an async compilation func --- Emacs/.config/emacs/elisp/literate.el | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Emacs/.config/emacs/elisp/literate.el') 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 -- cgit v1.2.3-13-gbd6f