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 00:28:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis wrote:

> Here is how I have defined a buffer local variable:
>
> (defvar-local rcd-tabulated-marked-items nil
>   "Collects IDs for tabulated list modes")
> (put 'rcd-tabulated-marked-items 'permanent-local t)

Oh, great! No, didn't find/have any `defvar-local', good, for
me that is, I'm sure it's good for something but to me it
just isn't my style. And my style confirms it, even!

But... from that code above it looks you set it to local
twice, first by defvar-local, then by setting the
permanent-local property to t?

permanent-local, sounds like the default.

So, it is properties as I guessed! \o/

I've used `put' 8 times, but just to change the
disabled property.

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




reply via email to

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