diff options
| author | Stephen Leake | 2018-01-02 07:28:06 -0600 |
|---|---|---|
| committer | Stephen Leake | 2018-01-04 16:24:19 -0600 |
| commit | c967ba186137e48b14c25ce2a439293fe07ead34 (patch) | |
| tree | fe5a52fcc121ec34c25d1bd35dc147bef8a4cbd0 /doc | |
| parent | d382d2bfc5072d4220b3e51785d22f70b147d63f (diff) | |
| download | emacs-c967ba186137e48b14c25ce2a439293fe07ead34.tar.gz emacs-c967ba186137e48b14c25ce2a439293fe07ead34.zip | |
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 b6add8c7cfc6d36f9dd8ad99be06bd8ab41cc6f8)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/functions.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index c6188ce466d..277a42d2c2f 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}) |
| 1247 | The argument must be a cons cell whose @code{car} is @code{eql} to | 1247 | The 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} |
| 1250 | The argument must be an instance of a class named @var{struct-tag} | 1250 | The argument must be an instance of a class named @var{struct-type} |
| 1251 | defined with @code{cl-defstruct} (@pxref{Structures,,, cl, Common Lisp | 1251 | defined with @code{cl-defstruct} (@pxref{Structures,,, cl, Common Lisp |
| 1252 | Extensions for GNU Emacs Lisp}), or of one of its parent classes. | 1252 | Extensions for GNU Emacs Lisp}), or of one of its child classes. |
| 1253 | @end table | 1253 | @end table |
| 1254 | 1254 | ||
| 1255 | Alternatively, the argument specializer can be of the form | 1255 | Alternatively, the argument specializer can be of the form |