projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e72885
)
use-package-core.el: use the Emacs set-default function to avoid saving :custom vars...
author
Ted Zlatanov
<tzz@lifelogs.com>
Mon, 22 Jun 2020 18:17:21 +0000
(14:17 -0400)
committer
Ted Zlatanov
<tzz@lifelogs.com>
Mon, 22 Jun 2020 18:24:09 +0000
(14:24 -0400)
lisp/use-package/use-package-core.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package-core.el
b/lisp/use-package/use-package-core.el
index e81e229a2f0c738d05793eedba3ef2dd745e4e60..169dbc455bcce1722a10eaf4fc9af79922ddb3ad 100644
(file)
--- a/
lisp/use-package/use-package-core.el
+++ b/
lisp/use-package/use-package-core.el
@@
-1394,7
+1394,9
@@
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)))
+ `(funcall (or (get (quote ,variable) 'custom-set) #'set-default)
+ (quote ,variable)
+ ,value)))
args)
(use-package-process-keywords name rest state)))