emacs-devel
[Top][All Lists]
Advanced

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

Re: Possible defvar bug


From: Stefan Monnier
Subject: Re: Possible defvar bug
Date: Tue, 19 Feb 2013 19:08:49 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>     defvar already gives a message for it (but defcustom doesn't).
> 1. defcustom could handle it like defvar.

IIRC it's not easy to do.

> 2. It could be an error rather than a mere message.

Not sure if it would be better.

Another option is to change defvar so that it changes the specpdl entry
when the var is let-bound (i.e. so that the default is set when we
leave the let, as if it had been set before).


        Stefan



reply via email to

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