emacs-devel
[Top][All Lists]
Advanced

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

Re: use of (defvar <foo>)


From: David Kastrup
Subject: Re: use of (defvar <foo>)
Date: Tue, 11 Apr 2006 19:31:46 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Dave Love <address@hidden> writes:

> If the effect of the defvar on load-history has been redefined as a
> bug, the eval-when-compile wrapper does avoid a bug, and I don't see
> how it could reasonably be harmful in a future Emacs.

defvar is the main way to inform the system a variable could be bound
dynamically instead of just lexically.  Having it omitted on runtime
could lead to hard to find bugs if we change to lexical binding at one
time.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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