emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 06/10] add most lisp-level features


From: Tom Tromey
Subject: Re: [PATCH 06/10] add most lisp-level features
Date: Tue, 14 Aug 2012 08:46:49 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Stefan>    (let ((foo inhibit-read-only))
Stefan>      (make-thread (lambda () (let ((inhibit-read-only foo)) ...)))

Stefan> Of course, this presumes the use of lexical-binding, otherwise you need
Stefan> to use lexical-let.

Ok, thanks.

Tom> It occurs to me now that even lexically bound code will use some
Tom> variables which are always dynamic.

Stefan> Such as?

I thought anything defvar'd was dynamically bound, so there are
thousands of examples, including all those DEFVARs in the C code.  Is
this not correct?

Tom



reply via email to

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