Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)

* lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious
format specifiers.
This commit is contained in:
Philipp Stephani 2020-04-12 15:11:22 +02:00
parent 3f9310b0fe
commit 36873ef2b2

View file

@ -3110,7 +3110,7 @@ slots skipped by :initial-offset may appear in the list."
descs))) descs)))
(nreverse descs))) (nreverse descs)))
(define-error 'cl-struct-unknown-slot "struct %S has no slot %S") (define-error 'cl-struct-unknown-slot "struct has no slot")
(defun cl-struct-slot-offset (struct-type slot-name) (defun cl-struct-slot-offset (struct-type slot-name)
"Return the offset of slot SLOT-NAME in STRUCT-TYPE. "Return the offset of slot SLOT-NAME in STRUCT-TYPE.