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

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

Re: Generality of defvar


From: Emanuel Berg
Subject: Re: Generality of defvar
Date: Wed, 27 Jul 2022 01:23:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> (defvar aname t) [...]
>
> For practical reasons it can be better to do
>
> (defvar var-name)
> (setq var-name 'var-value)

Here `defvar' only tells the byte-compiler that you intend to
use a variable with that name. It doesn't create such
a variable.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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