mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 04:09:37 +00:00
Make custom-face evaluate elisp
Fix https://github.com/jwiegley/use-package/issues/696. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
3e36cbfb6d
commit
c297dfdd20
2 changed files with 2 additions and 2 deletions
|
@ -1419,7 +1419,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 (quote ,def))) args)
|
||||
(mapcar #'(lambda (def) `(custom-set-faces (backquote ,def))) args)
|
||||
(use-package-process-keywords name rest state)))
|
||||
|
||||
;;;; :init
|
||||
|
|
|
@ -1125,7 +1125,7 @@
|
|||
(match-expansion
|
||||
(use-package foo :custom-face (foo ((t (:background "#e4edfc")))))
|
||||
`(progn
|
||||
(custom-set-faces '(foo ((t (:background "#e4edfc")))))
|
||||
(custom-set-faces (backquote (foo ((t (:background "#e4edfc"))))))
|
||||
(require 'foo nil nil))))
|
||||
|
||||
(ert-deftest use-package-test/:init-1 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue