mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 04:09:37 +00:00
Merge pull request from conao3/add-custom-face-description
GitHub-reference: https://github.com/jwiegley/use-package/issues/863
This commit is contained in:
commit
0503611b71
1 changed files with 13 additions and 0 deletions
|
@ -1165,6 +1165,19 @@
|
||||||
(custom-set-faces (backquote (foo ((t (:background "#e4edfc"))))))
|
(custom-set-faces (backquote (foo ((t (:background "#e4edfc"))))))
|
||||||
(require 'foo nil nil))))
|
(require 'foo nil nil))))
|
||||||
|
|
||||||
|
(ert-deftest use-package-test/:custom-face-2 ()
|
||||||
|
(match-expansion
|
||||||
|
(use-package example
|
||||||
|
:custom-face
|
||||||
|
(example-1-face ((t (:foreground "LightPink"))))
|
||||||
|
(example-2-face ((t (:foreground "LightGreen")))))
|
||||||
|
`(progn
|
||||||
|
(custom-set-faces
|
||||||
|
(backquote (example-1-face ((t (:foreground "LightPink"))))))
|
||||||
|
(custom-set-faces
|
||||||
|
(backquote (example-2-face ((t (:foreground "LightGreen"))))))
|
||||||
|
(require 'example nil nil))))
|
||||||
|
|
||||||
(ert-deftest use-package-test/:init-1 ()
|
(ert-deftest use-package-test/:init-1 ()
|
||||||
(match-expansion
|
(match-expansion
|
||||||
(use-package foo :init (init))
|
(use-package foo :init (init))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue