gerard.vermeu...@posteo.net writes: > The Emacs integrated development environments Slime and Sly > communicate by means of similar RPC protocols with different server > programs: Swank in case of Slime and Slynk in case of Sly. However, > the code in org-babel-execute:lisp always expects to talk with Swank > because of the hard-coded call to swank:eval-and-grab-output. > > After starting a Sly REPL, calls to swank:eval-and-grab-output do not > talk with the Slynk server started by the Sly REPL. > > The attached patch "soft-codes" eval-and-grab-output to become > swank:eval-and-grab-output when using Slime and > slynk:eval-and-grab-output when using Sly.
I do not use ob-lisp, but this patch looks reasonable. I'd appreciate if other ob-lisp users could test the patch with both SLY and SLIME. I have no comments on the Elisp part of the patch. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>