branch: externals/setup commit f7d5906b74ce20fa939e909a9fde76e906c6d617 Author: Philip K <phil...@posteo.net> Commit: Philip K <phil...@posteo.net>
Replace customize-set-variable with the necessary parts --- setup.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.el b/setup.el index 16b2d27..52d37ed 100644 --- a/setup.el +++ b/setup.el @@ -361,8 +361,9 @@ the first FEATURE." ((error "Invalid option %S" name))) `(progn (custom-load-symbol ',name) - (customize-set-variable ',name ,val "Modified by `setup'") - (custom-push-theme 'theme-value ',name 'user 'reset))) + (funcall (or (get ',name 'custom-set) #'set-default) + ',name ,val) + (put ',name 'variable-comment "Modified by `setup'"))) :documentation "Set the option NAME to VAL. NAME may be a symbol, or a cons-cell. If NAME is a cons-cell, it will use the car value to modify the behaviour. These forms are