emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ob-lisp determining package


From: Ihor Radchenko
Subject: Re: ob-lisp determining package
Date: Fri, 29 Apr 2022 17:20:31 +0800

Alan Ruttenberg <alanruttenberg@gmail.com> 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-fn
>     (`slime-current-package  'slime)
>     (`sly-current-pacakge 'sly)))
>
> This (approximately) seems to work fine in my emacs. However, I am using an
> older version of emacs/org-mode and so am not submitted a patch, which
> would be against slightly different code.

Did you have a chance to test your changes against the latest Org?
If everything works fine, could you prepare a patch?

best,
Ihor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]