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

Re: labels usage



Katsumi Yamaoka <yamaoka@xxxxxxx> writes:

> Hi,
>
> Is this a wrong usage?
>
> (let (fn)
>   (labels ((fx (arg) arg))
>     (setq fn 'fx))
>   (funcall fn 99))

You should use #'fx instead.

Andreas.

-- 
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."