This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun wsl-host-slime (&optional command) | |
"Start a Windows inferior Lisp process in WSL and connect to it with SLIME. | |
COMMAND is the external Lisp process, defaulting to SBCL. | |
Function assumes the target Lisp process has been configured to load | |
Quicklisp on startup." | |
(interactive) | |
(let ((buffer (ansi-term (getenv "SHELL") "wsl-host-inferior-lisp")) | |
(cmd (concat (or command "sbcl") ".exe"))) |