emacs-devel
[Top][All Lists]
Advanced

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

Re: defcustom standard value and byte-compilation


From: Stefan Monnier
Subject: Re: defcustom standard value and byte-compilation
Date: Wed, 11 Mar 2015 14:56:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> That's no problem, lexical-binding supports dynamically scoped
>> variables as well (you just have to declare them beforehand via
>> (defvar <var>)).
> Yes, I know.  But having non-prefixed (defvar name) etc just looks so
> damn wrong.

Not having the (defvar <foo>) doesn't make any difference: the code
still uses those non-prefixed names.

>>> But customize shows the value of the expression, not the expression
>>> itself.
>> IIRC there's a way to get the expression rather than the value.
> At least I couldn't find one in the customize UI but maybe you're right.

I can't find it either.  And I can't even remember where the bug was
reported.  Maybe the bug was slightly different than what I said, I just
have a faint memory of it.


        Stefan



reply via email to

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