custom-set-variables
#custom #emacs28.2
LIST (SYMBOL EXP [NOW [REQUEST [COMMENT]]]) ->
Easy Customizationをつかったときに挿入される関数。
https://github.com/emacs-mirror/emacs/blob/emacs-28.2/lisp/custom.el#L980-L994
code: custom.el
(defun custom-set-variables (&rest args)
"Install user customizations of variable values specified in ARGS.
These settings are registered as theme `user'.
The arguments should each be a list of the form:
(SYMBOL EXP [NOW [REQUEST COMMENT]])
This stores EXP (without evaluating it) as the saved value for SYMBOL.
If NOW is present and non-nil, then also evaluate EXP and set
the default value for the SYMBOL to the value of EXP.
REQUEST is a list of features we must require in order to
handle SYMBOL properly.
COMMENT is a comment string about SYMBOL."
(apply #'custom-theme-set-variables 'user args))
custom-theme-set-variables に 'userを付与して呼び直すだけ。themeがuserで値が設定される。
apply
custom-theme-set-variables