From 2e8f6ad287acfd4d09f1952d7c45ce7ee68a2474 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 16 May 2019 22:00:57 -0400 Subject: [PATCH] * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix docstring of accessors. --- 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 23c4351c7ca..c4a1dcb8baa 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2903,7 +2903,7 @@ non-nil value, that slot cannot be set via `setf'. ;; and pred-check, so changing it is not straightforward. (push `(,defsym ,accessor (cl-x) ,(format "Access slot \"%s\" of `%s' struct CL-X." - slot struct) + slot name) (declare (side-effect-free t)) ,@(and pred-check (list `(or ,pred-check -- 2.39.2