]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)
authorPhilipp Stephani <phst@google.com>
Sun, 12 Apr 2020 13:11:22 +0000 (15:11 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 12 Apr 2020 13:12:16 +0000 (15:12 +0200)
* lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious
format specifiers.

lisp/emacs-lisp/cl-macs.el

index c4f69120ff731f96b4db9407a7dcf685dfc3711c..9edd85e36bf2950459ec5b70a77b2c54d12e1b74 100644 (file)
@@ -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.