mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
add multiple and eval :custom-face usage
This commit follows suggestion at https://github.com/jwiegley/use-package/issues/696, https://github.com/jwiegley/use-package/issues/821
This commit is contained in:
parent
10c6400d34
commit
215dd35e49
1 changed files with 13 additions and 0 deletions
|
|
@ -1147,6 +1147,19 @@
|
|||
(custom-set-faces (backquote (foo ((t (:background "#e4edfc"))))))
|
||||
(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 ()
|
||||
(match-expansion
|
||||
(use-package foo :init (init))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue