mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-11 09:20:51 +00:00
Fix description of 'struct' generic function specializer
Backport:
* doc/lispref/functions.texi (Generic Functions): Fix description of
'struct' specializer; it must be the named struct or a child, not a
parent.
(cherry picked from commit b6add8c7cf
)
This commit is contained in:
parent
d382d2bfc5
commit
c967ba1861
@ -1246,10 +1246,10 @@ This specializer requires the argument be @code{eql} to the given
|
|||||||
@item (head @var{object})
|
@item (head @var{object})
|
||||||
The argument must be a cons cell whose @code{car} is @code{eql} to
|
The argument must be a cons cell whose @code{car} is @code{eql} to
|
||||||
@var{object}.
|
@var{object}.
|
||||||
@item @var{struct-tag}
|
@item @var{struct-type}
|
||||||
The argument must be an instance of a class named @var{struct-tag}
|
The argument must be an instance of a class named @var{struct-type}
|
||||||
defined with @code{cl-defstruct} (@pxref{Structures,,, cl, Common Lisp
|
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
|
@end table
|
||||||
|
|
||||||
Alternatively, the argument specializer can be of the form
|
Alternatively, the argument specializer can be of the form
|
||||||
|
Loading…
Reference in New Issue
Block a user