mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Use face-spec-set instead of custom-set-faces
GitHub-reference: https://github.com/jwiegley/use-package/issues/934 Copyright-paperwork-exempt: yes
This commit is contained in:
parent
c0338e06cd
commit
6b344a9197
2 changed files with 7 additions and 7 deletions
|
|
@ -1518,7 +1518,7 @@ no keyword implies `:all'."
|
|||
(defun use-package-handler/:custom-face (name _keyword args rest state)
|
||||
"Generate use-package custom-face keyword code."
|
||||
(use-package-concat
|
||||
(mapcar #'(lambda (def) `(custom-set-faces (backquote ,def))) args)
|
||||
(mapcar #'(lambda (def) `(apply #'face-spec-set (backquote ,def))) args)
|
||||
(use-package-process-keywords name rest state)))
|
||||
|
||||
;;;; :init
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue