aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStephen Leake2018-01-02 07:28:06 -0600
committerStephen Leake2018-01-02 07:38:19 -0600
commitb6add8c7cfc6d36f9dd8ad99be06bd8ab41cc6f8 (patch)
treefc8909c029a0ff4e9a9737b9cf1a181acdf8d630 /doc
parentcef8a9d0a7104626b0c238d6298e1d47c196306c (diff)
downloademacs-b6add8c7cfc6d36f9dd8ad99be06bd8ab41cc6f8.tar.gz
emacs-b6add8c7cfc6d36f9dd8ad99be06bd8ab41cc6f8.zip
Fix description of 'struct' generic function specializer
* doc/lispref/functions.texi (Generic Functions): Fix description of 'struct' specializer; it must be the named struct or a child, not a parent.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/functions.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index 165ac75966d..c3e5dc0eb5b 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -1246,10 +1246,10 @@ This specializer requires the argument be @code{eql} to the given
1246@item (head @var{object}) 1246@item (head @var{object})
1247The argument must be a cons cell whose @code{car} is @code{eql} to 1247The argument must be a cons cell whose @code{car} is @code{eql} to
1248@var{object}. 1248@var{object}.
1249@item @var{struct-tag} 1249@item @var{struct-type}
1250The argument must be an instance of a class named @var{struct-tag} 1250The argument must be an instance of a class named @var{struct-type}
1251defined with @code{cl-defstruct} (@pxref{Structures,,, cl, Common Lisp 1251defined with @code{cl-defstruct} (@pxref{Structures,,, cl, Common Lisp
1252Extensions for GNU Emacs Lisp}), or of one of its parent classes. 1252Extensions for GNU Emacs Lisp}), or of one of its child classes.
1253@end table 1253@end table
1254 1254
1255Method definitions can make use of a new argument-list keyword, 1255Method definitions can make use of a new argument-list keyword,