Robert Boyer <robertstephenboyer@gmail.com> writes:
> It is almost certainly a bug in the definition of cl-return-from that the following
> does not work. I have no idea whether it is possible to fix. Could be really hard
> or undesirable to fix. I know nothing.
>
> Emacs is great beyond words.
>
> Thanks so much,
>
> Bob
>
> (defun foo () (cl-return-from foo 3))
> (foo)
>
> I strongly believe that in Common Lisp, every (defun foo ...) wraps
> a block named foo around the ...
Hi Bob,
unfortunately or not, this is elisp not CL :)
If you want to do that the following works:
(cl-defun foo () (cl-return-from foo 3))
(foo) => 3
Best Regards
Andrea