Re: ob-lisp determining package

2022-04-29 Thread Ihor Radchenko
Alan Ruttenberg writes: > I propose that the package determination be changed to > > (or (cdr (assq :package params)) (funcall org-babel-lisp-package-fn)) > > with org-babel-lisp-package-fn being bound analogous to how > org-babel-lisp-eval-function is: > > (require (pcase org-babel-lisp-package

ob-lisp determining package

2021-12-28 Thread Alan Ruttenberg
Currently, ob-lisp expects a package as a header argument. This is inconvenient and often unnecessary. Slime (or sly) provides a function to determine the current package: slime-current-package (sly-current-package). The function used to do the evaluation in lisp is slime-eval (sly-eval) and this f