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

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

Re: don't understand setq-default


From: Emanuel Berg
Subject: Re: don't understand setq-default
Date: Mon, 19 Apr 2021 05:33:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor wrote:

>>>     my-var
>>> ;; => foo
>>
>> And now it isn't anymore so the default is there, great.
>
> No, why isn't that 7? argh!
>
> I must write my own version :)

OK, so after you say it is local with `make-local-variable' it
doesn't matter you do `setq', it won't get global that way?

No, but that's consistent actually, you can setq other local
stuff tho I prefer `let' and do all computation before any of
it is used, but you can, that's right.

setq isn't (always) global unless you make a typo...

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




reply via email to

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