From: Stefan Monnier Date: Fri, 17 May 2019 02:00:57 +0000 (-0400) Subject: * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix docstring of accessors. X-Git-Tag: emacs-27.0.90~2862 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2e8f6ad287acfd4d09f1952d7c45ce7ee68a2474;p=emacs.git * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix docstring of accessors. --- 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