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

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

Re: [External] : The operation of default-value


From: Emanuel Berg
Subject: Re: [External] : The operation of default-value
Date: Fri, 02 Dec 2022 03:57:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Drew Adams wrote:

> `setq-local' sets the buffer-local value for the current
> buffer. So does `setq', if the variable has already been
> made buffer-local in the buffer.

`setq-local' - always local

`setq-default' - always global

`setq' - local if local is present, global if global is
present and local isn't, and if none are present, global,
unless the variable automatically becomes buffer-local when
set?

I agree, pretty confusing ...

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




reply via email to

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