[Top][All Lists]

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

(elisp) Generic Functions cl-defmethod documentation bug?

From: Stephen Leake
Subject: (elisp) Generic Functions cl-defmethod documentation bug?
Date: Mon, 01 Jan 2018 07:37:03 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt)

In the elisp manual node Generic Functions, the documentation for
'cl-defmethod' includes:

          The argument must be an instance of a class named STRUCT-TAG
          defined with ‘cl-defstruct’ (*note (cl)Structures::), or of
          one of its parent classes.

Shouldn't 'parent classes' be 'child classes'?

The method requires an object that has all the fields defined in the given
struct; that is true of child classes, not parents.

Unless I'm missing something.

-- Stephe

reply via email to

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