bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19704: 25.0.50; funcall with hard-quote inside cl-labels uses the lo


From: Stefan Monnier
Subject: bug#19704: 25.0.50; funcall with hard-quote inside cl-labels uses the local function binding
Date: Fri, 10 Jun 2016 22:42:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> Seems that macroexp--expand-all got too aggressive, patch below
>> teaches it to back off in case of locally defined functions:
> Thanks, Noam. Seems to work fine here.
> Stefan, how does it look to you?

Looks OK, tho a bit on the hackish side.  Maybe a simpler solution is to
replace  (or 'quote 'function) with 'function (i.e. only apply the
optimization to (funcall #'foo ...) and not to (funcall 'foo ...)).


        Stefan





reply via email to

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