emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 c967ba1: Fix description of 'struct' generic func


From: Stephen Leake
Subject: [Emacs-diffs] emacs-26 c967ba1: Fix description of 'struct' generic function specializer
Date: Thu, 4 Jan 2018 17:25:27 -0500 (EST)

branch: emacs-26
commit c967ba186137e48b14c25ce2a439293fe07ead34
Author: Stephen Leake <address@hidden>
Commit: Stephen Leake <address@hidden>

    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)
---
 doc/lispref/functions.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index c6188ce..277a42d 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
 @item (head @var{object})
 The argument must be a cons cell whose @code{car} is @code{eql} to
 @var{object}.
address@hidden @var{struct-tag}
-The argument must be an instance of a class named @var{struct-tag}
address@hidden @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
 
 Alternatively, the argument specializer can be of the form



reply via email to

[Prev in Thread] Current Thread [Next in Thread]