|
From: | Elias Mårtenson |
Subject: | Re: custom-set-variables considered harmful |
Date: | Thu, 30 Nov 2017 00:35:58 +0800 |
> Thus, if you use ‘setq’ instead of ‘custom-set-variable’ you need to
> manually check every single variable to ensure they don't have setter
> functions assigned. If you want to be thorough (nobody is) you also
> need to check them every time your modules are updated. This is not
> just a theoretical situation.
Note that there are also many situations where the var has a setter, yet
doing (setq foo val) on it from your ~/.emacs will still work correctly
(as long as you do it before loading the library).
I'd argue it's actually the most frequent case.
[Prev in Thread] | Current Thread | [Next in Thread] |