Play again with SLY

This commit is contained in:
Gerard Vermeulen 2023-03-28 08:15:11 +02:00
parent 580c6e5fd7
commit 7bc7b4118b
1 changed files with 7 additions and 6 deletions

View File

@ -2101,10 +2101,10 @@ list detailing and motivating each listing:
"\\end{document}\n")))
(with-eval-after-load 'ob-lisp
(with-eval-after-load 'slime
(setopt org-babel-lisp-eval-fn #'slime-eval))
;; (with-eval-after-load 'sly
;; (setopt org-babel-lisp-eval-fn #'sly-eval))
;; (with-eval-after-load 'slime
;; (setopt org-babel-lisp-eval-fn #'slime-eval))
(with-eval-after-load 'sly
(setopt org-babel-lisp-eval-fn #'sly-eval))
)
(with-eval-after-load 'emacs
@ -4127,7 +4127,7 @@ Listing [[lst:sbcl-core-for-sly]] tangles to a script to dump such a [[http://ww
#+caption[Configure =sly=]:
#+caption: Configure =sly=.
#+name: lst:configure-sly
#+begin_src emacs-lisp -n :results silent :tangle no
#+begin_src emacs-lisp -n :results silent
(when (ensure-package-installation 'sly 'sly-named-readtables)
(with-eval-after-load 'sly
;; Set `sly-default-lisp' instead of `inferior-lisp-program',
@ -4135,7 +4135,8 @@ Listing [[lst:sbcl-core-for-sly]] tangles to a script to dump such a [[http://ww
;; compatibility fallback option.
;; The warning "Value sbcl does not match type function" is due to
;; the buggy `defcustom' type of `sbcl-default-lisp' in `sly.el'.
(setopt sly-default-lisp 'sbcl
(setopt sly-db-initial-restart-limit 10
sly-default-lisp 'sbcl
sly-lisp-implementations
`((sbcl (,(executable-find "sbcl")
"--core"