I see that minor modes defined via
define-minor-mode have a variable that has the same name as the function and the following documentation:
Setting this variable directly does not take effect; either customize it (see the info node ‘Easy Customization’) or call the function ‘editorconfig-mode’.
However, customizing doesn't seem to work for me. The value of the variable ends up as
nill, “CHANGED outside Customize”, and the minor mode is not enabled unless I additionally add the following to my
In this example I'm using
editorconfig-mode, but I have the issue with other modes too.
What am I missing? Do I need to do something extra or in a different order to get these customized variable to take effect?