]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/eieio-core.el
More-conservative ‘format’ quote restyling
[gnu-emacs] / lisp / emacs-lisp / eieio-core.el
index 2ecf41290083f23be389a97028fd7c09b683391c..3b07c5dec4bfcc95308d3774e4c5917fb8b01b3f 100644 (file)
@@ -733,7 +733,7 @@ Argument FN is the function calling this verifier."
                 ((and (or `',name (and name (pred keywordp)))
                       (guard (not (memq name eieio--known-slot-names))))
                  (macroexp--warn-and-return
-                  (format "Unknown slot ‘%S’" name) exp 'compile-only))
+                  (format-message "Unknown slot ‘%S’" name) exp 'compile-only))
                 (_ exp)))))
   (cl-check-type slot symbol)
   (cl-check-type obj (or eieio-object class))