emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 2e8f6ad: * lisp/emacs-lisp/cl-macs.el (cl-defstruct


From: Stefan Monnier
Subject: [Emacs-diffs] master 2e8f6ad: * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix docstring of accessors.
Date: Thu, 16 May 2019 22:01:02 -0400 (EDT)

branch: master
commit 2e8f6ad287acfd4d09f1952d7c45ce7ee68a2474
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * 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 23c4351..c4a1dcb 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



reply via email to

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