]> git.earman.xyz Git - emacsinit.git/commitdiff
Set sly to always switch to an existing repl if available
authorrearman <rearman@r717.net>
Tue, 16 Sep 2025 14:41:45 +0000 (10:41 -0400)
committerrearman <rearman@r717.net>
Tue, 16 Sep 2025 14:41:45 +0000 (10:41 -0400)
re/re-packages.el

index ebafcf94e5af082c92d9ec741aa380ca2cb98299..6dd30b3768dbfd635d3f5acbf7b25eae00c33cd4 100644 (file)
@@ -84,7 +84,8 @@
 (use-package sly
   :config
   (setq inferior-lisp-program "sbcl"
-       sly-net-coding-system 'utf-8-unix)
+       sly-net-coding-system 'utf-8-unix
+       sly-command-switch-to-existing-lisp 'always)
   (let ((core (expand-file-name "~/sbcl.core-for-sly")))
     (when (file-exists-p core)
       (setq sly-lisp-implementations (list `(sbcl ("sbcl" "--core" ,core)))))))