[Top][All Lists]

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

Re: Declaring a local dynamic variable?

From: Stefan Monnier
Subject: Re: Declaring a local dynamic variable?
Date: Wed, 25 Sep 2013 08:26:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> So in essence Emacs doesn't really have local dynamic variables?

Dynamic scoping is inherently global, whether in Elisp or in any other
language.  To make it "cleanly local" you need to rely on
namespaces/modules to protect uses in one package from interfering from
uses in other package.  In Emacs, we use name prefixes as poor
man's namespaces.


reply via email to

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