]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "use-package-core.el: use the Emacs set-default function to avoid saving ...
authorTed Zlatanov <tzz@lifelogs.com>
Sun, 8 Nov 2020 14:58:08 +0000 (14:58 +0000)
committerTed Zlatanov <tzz@lifelogs.com>
Sun, 29 Nov 2020 12:09:48 +0000 (12:09 +0000)
This reverts commit 8c31c57106e2938d627bf4107627c003620d2dd5.

lisp/use-package/use-package-core.el

index 540c7349db039c4727e8359abe8151b707faa0b5..be43c65cd4f4cdc1dae78e21f0910fd4a723c1d0 100644 (file)
@@ -1394,10 +1394,7 @@ no keyword implies `:all'."
               (comment (nth 2 def)))
           (unless (and comment (stringp comment))
             (setq comment (format "Customized with use-package %s" name)))
-          `(funcall (or (get (quote ,variable) 'custom-set) #'set-default)
-                    (quote ,variable)
-                    ,value)
-          `(put (quote ,variable) 'saved-variable-comment ,comment)))
+          `(customize-set-variable (quote ,variable) ,value ,comment)))
     args)
    (use-package-process-keywords name rest state)))