[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: difference between setq and setq-local
From: |
Pankaj Jangid |
Subject: |
Re: difference between setq and setq-local |
Date: |
Tue, 28 Sep 2021 08:32:50 +0530 |
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
<help-gnu-emacs@gnu.org> writes:
> So setq-local always does the same thing.
>
> And setq-default always does the same thing as well.
>
> setq tho is the tricky one, it refers to the buffer-local
> variable if it exists ... _or_ acts like `setq-local' for some
> specific variables ... _or_ acts like setq-default if the
> there isn't buffer-local variable and also the variable
> doesn't stipulate it wants to be buffer-local soo bad!
Thanks for this primer on ‘setq-’ functions. It is permanently inscribed
now. And it is absolutely clear.