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

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

Re: Error with add-function and process-filter


From: Stefan Monnier
Subject: Re: Error with add-function and process-filter
Date: Mon, 11 Mar 2024 09:21:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> (add-function :before (process-filter h-proc) #'h/trace)
[...]
> However, am getting this error:
> Symbol’s value as variable is void: v

My crystal ball tells me you forgot to activate `lexical-binding`
because you didn't see the message that must have been emitted at some
point:

    Warning: Use of gv-ref probably requires lexical-binding

If you're using a new enough Emacs you can click on the orange "/d" in
your mode line to fix the problem.


        Stefan




reply via email to

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