[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
(progn
(project-roots pr)
t)
(error
nil)))
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.
- Re: Opaque objects and Emacs documentation, (continued)
- Re: Opaque objects and Emacs documentation, Eli Zaretskii, 2020/07/17
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/17
- Re: Opaque objects and Emacs documentation, Eli Zaretskii, 2020/07/17
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/17
- Re: Opaque objects and Emacs documentation, Eli Zaretskii, 2020/07/17
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/17
- Re: Opaque objects and Emacs documentation, Richard Stallman, 2020/07/17
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/18
- Re: Opaque objects and Emacs documentation, Richard Stallman, 2020/07/18
- Re: Opaque objects and Emacs documentation, Eli Zaretskii, 2020/07/19
- Re: Opaque objects and Emacs documentation,
Dmitry Gutov <=
- Re: Opaque objects and Emacs documentation, Eli Zaretskii, 2020/07/21
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/21
- Re: Opaque objects and Emacs documentation, Tomas Hlavaty, 2020/07/21
- Re: Opaque objects and Emacs documentation, Tomas Hlavaty, 2020/07/21
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/21
- Re: Opaque objects and Emacs documentation, Tomas Hlavaty, 2020/07/21
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/21
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/21
- Re: Opaque objects and Emacs documentation, Eli Zaretskii, 2020/07/21
- Re: Opaque objects and Emacs documentation, Dmitry Gutov, 2020/07/21