Dynamically set core image path for sbcl custom image

This commit is contained in:
Marcus Kammer 2023-12-10 11:55:43 +01:00
parent f479a1c804
commit b8fc645a8e
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -719,7 +719,13 @@ write_files:
slime-asdf
slime-indentation
slime-editing-commands
slime-sbcl-exts)))
slime-sbcl-exts))
;; shell$ sbcl
;; * (mapc 'require '(sb-bsd-sockets sb-posix sb-introspect sb-cltl2 asdf))
;; * (save-lisp-and-die "sbcl.core-for-slime")
(let ((image-path (expand-file-name "~/sbcl.core-for-slime")))
(setq slime-lisp-implementations
`((sbcl ("sbcl" "--core" ,image-path))))))
(use-package lisp-mode
:ensure nil