[Top][All Lists]

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

Re: Opaque objects and Emacs documentation

From: Dmitry Gutov
Subject: Re: Opaque objects and Emacs documentation
Date: Tue, 21 Jul 2020 22:00:15 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 19.07.2020 17:48, Eli Zaretskii wrote:
   . a predicate to test whether an arbitrary Lisp value is an object
     of that type

A predicate would look like:

(defun project-instance-p (pr)
  (condition-case nil
        (project-roots pr)

But I don't see how it's going to help you write documentation.

And no code is going to call it, so it's not defined.

   . a function to compare two objects of this type

As discussed, it's a little function called 'equal'.

If we find out we need something more complex, we'll add it.

reply via email to

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