(Emacs)+working on an async compilation func

This commit is contained in:
2023-08-20 17:27:25 +01:00
parent bb1cdfface
commit 3581a8ce21

View File

@@ -86,5 +86,16 @@
(mapcar #'(lambda (file) (byte-compile-file file)) +literate/elisp-files) (mapcar #'(lambda (file) (byte-compile-file file)) +literate/elisp-files)
(message "Finished byte-compiling")) (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) (provide 'literate)
;;; literate.el ends here ;;; literate.el ends here