emacs-devel
[Top][All Lists]
Advanced

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

Re: Comments on setopt


From: Stefan Monnier
Subject: Re: Comments on setopt
Date: Wed, 16 Feb 2022 17:42:38 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Phil Sainty [2022-02-17 11:34:00] wrote:
> On 2022-02-17 02:23, Stefan Monnier wrote:
>> As pointed out, `setopt` should probably not be used at top-level
>> in a `.emacs` because Custom will think this was set via
>> `customize-set-variables` and will save that setting back into
>> `custom-file` next time we ask to save the customized variables.
> From the description I thought this would invoke any setter function
> but otherwise act like setq in that it would *not* touch the user's
> custom file.
> That would be the desirable behaviour, no?

Agreed.  Then maybe I misunderstood?


        Stefan




reply via email to

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