aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Yuen Ho Wong2020-07-08 04:57:39 +0100
committerTed Zlatanov2020-07-12 15:57:49 -0400
commitd3f847eaee1da6a87482b016bb916e0781082fd6 (patch)
tree94a6c90e0d5931b790822fa84f21ebaeb2d3da44
parent3e96664ffe8f870118d730cc42b9c99f43134cbf (diff)
downloademacs-d3f847eaee1da6a87482b016bb916e0781082fd6.tar.gz
emacs-d3f847eaee1da6a87482b016bb916e0781082fd6.zip
Fix broken test due to
GitHub-reference: https://github.com/jwiegley/use-package/issues/850
-rw-r--r--lisp/use-package/use-package-core.el2
-rw-r--r--test/lisp/use-package/use-package-tests.el6
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el
index 169dbc455bc..94b8e451903 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -1563,7 +1563,7 @@ this file. Usage:
1563:load-path Add to the `load-path' before attempting to load the package. 1563:load-path Add to the `load-path' before attempting to load the package.
1564:diminish Support for diminish.el (if installed). 1564:diminish Support for diminish.el (if installed).
1565:delight Support for delight.el (if installed). 1565:delight Support for delight.el (if installed).
1566:custom Call `customize-set-variable' with each variable definition. 1566:custom Call `custom-set' or `set-default' with each variable definition.
1567:custom-face Call `customize-set-faces' with each face definition. 1567:custom-face Call `customize-set-faces' with each face definition.
1568:ensure Loads the package using package.el if necessary. 1568:ensure Loads the package using package.el if necessary.
1569:pin Pin the package to an archive." 1569:pin Pin the package to an archive."
diff --git a/test/lisp/use-package/use-package-tests.el b/test/lisp/use-package/use-package-tests.el
index 61438185373..1e89a5679ff 100644
--- a/test/lisp/use-package/use-package-tests.el
+++ b/test/lisp/use-package/use-package-tests.el
@@ -1133,7 +1133,11 @@
1133 (match-expansion 1133 (match-expansion
1134 (use-package foo :custom (foo bar)) 1134 (use-package foo :custom (foo bar))
1135 `(progn 1135 `(progn
1136 (customize-set-variable 'foo bar "Customized with use-package foo") 1136 (funcall
1137 (or
1138 (get 'foo 'custom-set)
1139 (function set-default))
1140 'foo bar)
1137 (require 'foo nil nil)))) 1141 (require 'foo nil nil))))
1138 1142
1139(ert-deftest use-package-test/:custom-face-1 () 1143(ert-deftest use-package-test/:custom-face-1 ()