If I bring up emacs' customization interface, edit a variable, and then set+save it, its new value gets stored in a (custom-set-variables ...)
list in my init file.
Now, let's say I modified a variable's value in elisp (using (setq ...)
or something else).
How can I save this new value to the (custom-set-variables ...)
list using elisp instead of the interactive interface?
Looks like you are looking for customize-save-variable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With