From 5ceb51ae198cca77cdf911feee81924d800bdd75 Mon Sep 17 00:00:00 2001 From: Ted Zlatanov Date: Sun, 8 Nov 2020 14:59:58 +0000 Subject: [PATCH] set property theme-value to avoid saving variable --- lisp/use-package/use-package-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index be43c65cd4f..933e94aa2bd 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -1394,7 +1394,8 @@ no keyword implies `:all'." (comment (nth 2 def))) (unless (and comment (stringp comment)) (setq comment (format "Customized with use-package %s" name))) - `(customize-set-variable (quote ,variable) ,value ,comment))) + `(customize-set-variable (quote ,variable) ,value ,comment) + `(put ',variable 'theme-value '((use-package-synthetic-theme ignore-just-for-saving))))) args) (use-package-process-keywords name rest state))) -- 2.39.2