Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ The `:custom-face` keyword allows customization of package custom faces.
(use-package example
:custom-face
(example-1-face ((t (:foreground "LightPink"))))
(example-2-face ((t (:foreground "LightGreen"))) face-defspec-spec))
(example-2-face ((t (:foreground "LightGreen"))) face-defface-spec))

(use-package zenburn-theme
:preface
Expand Down
2 changes: 1 addition & 1 deletion use-package-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ Usage:
:custom Call `Custom-set' or `set-default' with each variable
definition without modifying the Emacs `custom-file'.
(compare with `custom-set-variables').
:custom-face Call `custom-set-faces' with each face definition.
:custom-face Call `face-spec-set' with each face definition.
:ensure Loads the package using package.el if necessary.
:pin Pin the package to an archive."
(declare (indent defun))
Expand Down
4 changes: 2 additions & 2 deletions use-package-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -1171,9 +1171,9 @@

(ert-deftest use-package-test/:custom-face-3 ()
(match-expansion
(use-package foo :custom-face (foo ((t (:background "#e4edfc"))) face-defspec-spec))
(use-package foo :custom-face (foo ((t (:background "#e4edfc"))) face-defface-spec))
`(progn
(apply #'face-spec-set (backquote (foo ((t (:background "#e4edfc"))) face-defspec-spec)))
(apply #'face-spec-set (backquote (foo ((t (:background "#e4edfc"))) face-defface-spec)))
(require 'foo nil nil))))

(ert-deftest use-package-test/:init-1 ()
Expand Down
2 changes: 1 addition & 1 deletion use-package.texi
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ faces.
(use-package example
:custom-face
(example-1-face ((t (:foreground "LightPink"))))
(example-2-face ((t (:foreground "LightGreen"))) face-defspec-spec))
(example-2-face ((t (:foreground "LightGreen"))) face-defface-spec))

(use-package zenburn-theme
:preface
Expand Down