diff options
| author | Philipp Stephani | 2020-04-12 15:11:22 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2020-04-12 15:12:16 +0200 |
| commit | 36873ef2b268d8d8be1ed8b517c90be2c1dcdc8b (patch) | |
| tree | 7c660c69269a75f224759b179f35823a9d6b7fe7 | |
| parent | 3f9310b0fecbd842244798fb9a62d56b2151c534 (diff) | |
| download | emacs-36873ef2b268d8d8be1ed8b517c90be2c1dcdc8b.tar.gz emacs-36873ef2b268d8d8be1ed8b517c90be2c1dcdc8b.zip | |
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.el | 2 |
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." | |||
| 3110 | descs))) | 3110 | descs))) |
| 3111 | (nreverse descs))) | 3111 | (nreverse descs))) |
| 3112 | 3112 | ||
| 3113 | (define-error 'cl-struct-unknown-slot "struct %S has no slot %S") | 3113 | (define-error 'cl-struct-unknown-slot "struct has no slot") |
| 3114 | 3114 | ||
| 3115 | (defun cl-struct-slot-offset (struct-type slot-name) | 3115 | (defun cl-struct-slot-offset (struct-type slot-name) |
| 3116 | "Return the offset of slot SLOT-NAME in STRUCT-TYPE. | 3116 | "Return the offset of slot SLOT-NAME in STRUCT-TYPE. |