[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defvar inside let-binding
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: defvar inside let-binding |
Date: |
Tue, 19 Jul 2011 18:14:52 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> defcustom works differently from defvar and doesn't use defvar
> (e.g. because it may not even define a real variable: the "var" may
> simply only be available through accessor/setter functions) and since
> the current code that detects a "defvar within let" is written in C code
> in Fdefvar, it doesn't apply to defcustom.
Right.
But does
(let ((foo nil))
(foo-function))
leave `foo' unbound if `foo' is a defcustom?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/