summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2020-04-12 15:11:22 +0200
committerPhilipp Stephani <phst@google.com>2020-04-12 15:12:16 +0200
commit36873ef2b268d8d8be1ed8b517c90be2c1dcdc8b (patch)
tree7c660c69269a75f224759b179f35823a9d6b7fe7
parent3f9310b0fecbd842244798fb9a62d56b2151c534 (diff)
downloademacs-36873ef2b268d8d8be1ed8b517c90be2c1dcdc8b.tar.gz
Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)
* lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious format specifiers.
-rw-r--r--lisp/emacs-lisp/cl-macs.el2
1 files changed, 1 insertions, 1 deletions
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.