无论是:custom还是setopt都有副作用,影响加载时机是最烦的,我现在设定custom variable一般用doomemacs的setq!宏,如果不想用这个宏我的建议是直接在包加载之前用defvar
:custom
setopt
setq!
defvar