]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/faces.el (read-face-name): Expose all lambdas to the compiler
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 25 Sep 2023 12:02:29 +0000 (08:02 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 25 Sep 2023 12:02:29 +0000 (08:02 -0400)
lisp/faces.el

index 8f93f9b2c0c6179b9d73ab0a36e88f3686c08173..7eacc40443a32e3c691731e43150f4d72101b61b 100644 (file)
@@ -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)