emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 36873ef: Fix error message for ‘cl-struct-unknown-slot’ (bug#3


From: Philipp Stephani
Subject: emacs-27 36873ef: Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)
Date: Sun, 12 Apr 2020 09:12:47 -0400 (EDT)

branch: emacs-27
commit 36873ef2b268d8d8be1ed8b517c90be2c1dcdc8b
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)
    
    * 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 c4f6912..9edd85e 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]