emacs-devel
[Top][All Lists]
Advanced

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

Re: RFC: omit some variables from custom-save-variables


From: Stefan Monnier
Subject: Re: RFC: omit some variables from custom-save-variables
Date: Fri, 19 Jun 2020 16:14:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> The proposal is for use-package to apply the save-exemptions symbol
> property behind the scenes. This is a new symbol property. 

Hmm... my reflex would have been to make use-package use something like

    (funcall (or (get variable 'custom-set) #'set-default) variable value)

instead of whichever other way it currently uses to set the variable.

Could you describe what would be the advantage of introducing a new
symbol property?

[ BTW: whichever way we end up going, I think that it would be better if
  use-package didn't use custom's symbol properties, so we should
  introduce a new function (I suggest to name it
  `customize-set-variable-external` to get the bikeshedding
  rolling ;-). ]


        Stefan




reply via email to

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