summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-macs.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2019-05-16 22:00:57 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2019-05-16 22:00:57 -0400
commit2e8f6ad287acfd4d09f1952d7c45ce7ee68a2474 (patch)
tree50f5388fe95308141e24854684093eca54e06a1e /lisp/emacs-lisp/cl-macs.el
parent5f6c08ef2c52c7fe526cbe4f9a684438f6a72007 (diff)
downloademacs-2e8f6ad287acfd4d09f1952d7c45ce7ee68a2474.tar.gz
emacs-2e8f6ad287acfd4d09f1952d7c45ce7ee68a2474.tar.bz2
emacs-2e8f6ad287acfd4d09f1952d7c45ce7ee68a2474.zip
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix docstring of accessors.
Diffstat (limited to 'lisp/emacs-lisp/cl-macs.el')
-rw-r--r--lisp/emacs-lisp/cl-macs.el2
1 files changed, 1 insertions, 1 deletions
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