From 36873ef2b268d8d8be1ed8b517c90be2c1dcdc8b Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sun, 12 Apr 2020 15:11:22 +0200 Subject: [PATCH] =?utf8?q?Fix=20error=20message=20for=20=E2=80=98cl-struct?= =?utf8?q?-unknown-slot=E2=80=99=20(bug#39995)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious format specifiers. --- lisp/emacs-lisp/cl-macs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5