help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Declaring a local dynamic variable?


From: Joost Kremers
Subject: Re: Declaring a local dynamic variable?
Date: 23 Sep 2013 16:11:01 GMT
User-agent: slrn/pre1.0.0-18 (Linux)

Stefan Monnier wrote:
>> If I purposefully use a local dynamic variable as in:
>
> Use (defvar my-counter) at the file's top-level to indicate that this
> variable is used in a way that relies on dynamic scoping.

Is that preferable to putting the defvar inside the function definition
where the variable is used dynamically?

-- 
Joost Kremers                                   address@hidden
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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