Just a quick note on something it took me quite some time to figure out:
#' passed in a list becomes the guile function syntax, which is
undefined in elisp.
A workaround is to use (lambda (x) (my-func x)) instead of #'my-func. Is
it the right thing to do in this case ?
--
Best regards,
Nicolas Graves
On 2022-08-29 15:03, Nicolas Graves wrote:
> Just a quick note on something it took me quite some time to figure out:
> #' passed in a list becomes the guile function syntax, which is
> undefined in elisp.
Hi Nicolas! Yep, that's a known issues and I didn't have time to
workaround it somehow yet, so I just use 'function-name instead of
#'function-name, IIRC it just skip byte compile check for function-name
exitstance and I consider it as not a big deal, but let me know if I
miss something important.
>
> A workaround is to use (lambda (x) (my-func x)) instead of
> #'my-func. Is it the right thing to do in this case ?
A little verbose, but probably it solves the issue mentioned above.
I would like to revisit elisp serialization to make it possible to use
#' without workarounds, but I don't have enough free resources to do so
right now.
--
Best regards,
Andrew Tropin