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

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

Re: What's the difference between (defvar foo) and (declare (special foo


From: Stefan Monnier
Subject: Re: What's the difference between (defvar foo) and (declare (special foo)), with lexical-binding on?
Date: Sun, 27 Jul 2014 04:16:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

(declare (special foo))

is a hack defined in CL.  It predates lexical-binding and I don't
think anyone has tried to adapt it to lexical-binding, so I don't know
what it does in the case of lexical-binding.


        Stefan




reply via email to

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