[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generality of defvar
From: |
Yuri Khan |
Subject: |
Re: Generality of defvar |
Date: |
Wed, 27 Jul 2022 11:57:09 +0700 |
On Wed, 27 Jul 2022 at 06:17, Emanuel Berg <incal@dataswamp.org> wrote:
> For practical reasons it can be better to do
>
> (defvar var-name)
> (setq var-name 'var-value)
>
> instead because if you do something with that and want to
> reset it, it's enough to evaluate the second line, whereas if
> you just have the first line you tend to evaluate that one and
> if/because the variable is already set at that point then
> nothing will happen ...
Yes, but you can press C-M-x on a (defvar var-name 'var-value) and it
will get re-set to the new value even if the variable is already
defined.
- Re: Generality of defvar, (continued)
- Re: Generality of defvar, Christopher Dimech, 2022/07/27
- Re: Generality of defvar, Thibaut Verron, 2022/07/27
- Re: Generality of defvar, Christopher Dimech, 2022/07/28
- Re: Generality of defvar, Thibaut Verron, 2022/07/28
- Re: Generality of defvar, Christopher Dimech, 2022/07/28
- Re: Generality of defvar, thibaut . verron, 2022/07/28
- Re: Generality of defvar, Christopher Dimech, 2022/07/28
Re: Generality of defvar, Emanuel Berg, 2022/07/26
- Re: Generality of defvar, Emanuel Berg, 2022/07/26
- Re: Generality of defvar, carlmarcos, 2022/07/26
- Re: Generality of defvar,
Yuri Khan <=
- Re: Generality of defvar, carlmarcos, 2022/07/27
- Re: Generality of defvar, Emanuel Berg, 2022/07/29
- RE: [External] : Re: Generality of defvar, Drew Adams, 2022/07/29
- Re: [External] : Re: Generality of defvar, Emanuel Berg, 2022/07/29
- RE: [External] : Re: Generality of defvar, Drew Adams, 2022/07/30
- Re: [External] : Re: Generality of defvar, Emanuel Berg, 2022/07/31