[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defvar inside let-binding
From: |
Stefan Monnier |
Subject: |
Re: defvar inside let-binding |
Date: |
Tue, 02 Aug 2011 15:22:35 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Since `defcustom' seems to be purely Emacs Lisp, and I don't think this
> data is available on the Emacs Lisp level (am I wrong?), perhaps just
> creating a C-level function `symbol-let-bound-p' (or something) would
> allow us to issue the warning, as a first step?
Yes. Tho the "next" step you suggested (to cause defvar to change the
outer let-binding) will require another such function and will make
symbol-let-bound-p unneeded.
Stefan