[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: |
Sun, 18 Apr 2021 15:39:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Omar Polo wrote:
> The docstring seems pretty clear to me:
>
>> [...]
>>
>> (setq-default [VAR VALUE]...)
>>
>> Probably introduced at or before Emacs version 18.
>>
>> Set the default value of variable VAR to VALUE.
>> VAR, the variable name, is literal (not evaluated);
>> VALUE is an expression: it is evaluated and its value returned.
>> **The default value of a variable is seen in buffers
>> that do not have their own values for the variable.**
You are right, didn't even see that, had to check but it was
indeed there :)
OK, that explains it, buffer local values, I can't even keep
track of the buffers...
More Emacs than Lisp tho it is a sliding scale... Thanks.
--
underground experts united
https://dataswamp.org/~incal
- don't understand setq-default, Emanuel Berg, 2021/04/18
- Re: don't understand setq-default, Omar Polo, 2021/04/18
- Re: don't understand setq-default,
Emanuel Berg <=
- Re: don't understand setq-default, Emanuel Berg, 2021/04/18
- Re: don't understand setq-default, Emanuel Berg, 2021/04/18
- Re: don't understand setq-default, Omar Polo, 2021/04/18
- Re: don't understand setq-default, Emanuel Berg, 2021/04/18
- Re: don't understand setq-default, Emanuel Berg, 2021/04/18
- Re: don't understand setq-default, Emanuel Berg, 2021/04/18
- Re: don't understand setq-default, Omar Polo, 2021/04/19
- Re: don't understand setq-default, Emanuel Berg, 2021/04/19
- Re: don't understand setq-default, Thibaut Verron, 2021/04/19
- Re: don't understand setq-default, Emanuel Berg, 2021/04/19