[Top][All Lists]

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

Re: [PATCH] Add new csetq macro

From: Philip Kaludercic
Subject: Re: [PATCH] Add new csetq macro
Date: Sun, 04 Sep 2022 17:07:01 +0000

Lucien Cartier-Tilet <lucien@phundrak.com> writes:

>> Note that this would have the issue that changes would automatically be
>> added to the "user" theme, and hence be reproduced in the
>> `custom-set-variables' section.  If the user sets an option using this
>> macro, and the `custom-set-variables' is evaluated after this point, the
>> intended change would be silently overridden.
> I must admit I completely forgot about the `custom-set-variables'
> section of the configuration since I disabled it entirely in my
> configuration, due to this behaviour precisely. But wouldn’t that be
> an issue if anything else like `setq' or `customize-variable' is used
> instead of `csetq'?

Yes, unless you make sure the customisation is not added to the user
theme, but either some other theme, as it is done with use-package or no
theme at all as is the case with setup.el.

> --
> Lucien “Phundrak” Cartier-Tilet
> <https://phundrak.com> (Français)
> <https://phundrak.com/en> (English)
> Sent from GNU/Emacs

reply via email to

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