From: Philipp Stephani Date: Sun, 12 Apr 2020 13:11:22 +0000 (+0200) Subject: Fix error message for ‘cl-struct-unknown-slot’ (bug#39995) X-Git-Tag: emacs-27.0.91~24 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=36873ef2b268d8d8be1ed8b517c90be2c1dcdc8b;p=emacs.git Fix error message for ‘cl-struct-unknown-slot’ (bug#39995) * lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious format specifiers. --- diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index c4f69120ff7..9edd85e36bf 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -3110,7 +3110,7 @@ slots skipped by :initial-offset may appear in the list." 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) "Return the offset of slot SLOT-NAME in STRUCT-TYPE.