mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-16 08:50:08 +00:00
Revert "use-package-core.el: use the Emacs set-default function to avoid saving :custom vars twice"
This reverts commit 8c31c57106
.
This commit is contained in:
parent
8ef7978028
commit
3e24a7363b
1 changed files with 1 additions and 4 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue