summaryrefslogtreecommitdiff
path: root/lisp/use-package
diff options
context:
space:
mode:
authorAndrey Listopadov <andreyorst@gmail.com>2022-10-15 19:03:03 +0300
committerAndrey Listopadov <andreyorst@gmail.com>2022-10-17 09:18:51 +0300
commit6b344a919754d53070280e691924011ad9086c76 (patch)
treeb56f854bc40b2c6c9840241b4cc0c3a2b38ab5a8 /lisp/use-package
parentc0338e06cd6e346bcfc69c53010fc8170c1bd979 (diff)
downloademacs-6b344a919754d53070280e691924011ad9086c76.tar.gz
emacs-6b344a919754d53070280e691924011ad9086c76.tar.bz2
emacs-6b344a919754d53070280e691924011ad9086c76.zip
Use face-spec-set instead of custom-set-faces
GitHub-reference: https://github.com/jwiegley/use-package/issues/934 Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/use-package')
-rw-r--r--lisp/use-package/use-package-core.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el
index 31b80486432..21b1a7ab40e 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -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