* lisp/faces.el (read-face-name): Expose all lambdas to the compiler
This commit is contained in:
parent
9f91a1c3eb
commit
6c99e4e384
1 changed files with 10 additions and 10 deletions
|
@ -1145,16 +1145,16 @@ returned. Otherwise, DEFAULT is returned verbatim."
|
|||
(format-prompt prompt default)
|
||||
(format "%s: " prompt)))
|
||||
(completion-extra-properties
|
||||
'(:affixation-function
|
||||
(lambda (faces)
|
||||
(mapcar
|
||||
(lambda (face)
|
||||
(list face
|
||||
(concat (propertize read-face-name-sample-text
|
||||
'face face)
|
||||
"\t")
|
||||
""))
|
||||
faces))))
|
||||
`(:affixation-function
|
||||
,(lambda (faces)
|
||||
(mapcar
|
||||
(lambda (face)
|
||||
(list face
|
||||
(concat (propertize read-face-name-sample-text
|
||||
'face face)
|
||||
"\t")
|
||||
""))
|
||||
faces))))
|
||||
aliasfaces nonaliasfaces faces)
|
||||
;; Build up the completion tables.
|
||||
(mapatoms (lambda (s)
|
||||
|
|
Loading…
Add table
Reference in a new issue