Commit b6add8c7 authored by Stephen Leake's avatar Stephen Leake

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.
parent cef8a9d0
......@@ -1246,10 +1246,10 @@ This specializer requires the argument be @code{eql} to the given
@item (head @var{object})
The argument must be a cons cell whose @code{car} is @code{eql} to
@var{object}.
@item @var{struct-tag}
The argument must be an instance of a class named @var{struct-tag}
@item @var{struct-type}
The argument must be an instance of a class named @var{struct-type}
defined with @code{cl-defstruct} (@pxref{Structures,,, cl, Common Lisp
Extensions for GNU Emacs Lisp}), or of one of its parent classes.
Extensions for GNU Emacs Lisp}), or of one of its child classes.
@end table
Method definitions can make use of a new argument-list keyword,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment