[Top][All Lists]

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

Re: Generalizing find-definition

From: Stefan Monnier
Subject: Re: Generalizing find-definition
Date: Wed, 10 Dec 2014 14:06:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> On the other hand, the required code is three lines:

> (defclass xref-ada-backend (xref-backend-class) ())
> (defvar xref--ada-backend (make-instance 'xref-ada-backend))
> (defun xref-ada-backend-function () xref--ada-backend)

You also need to define the corresponding methods.  IOW, all the visible
part of the API relies on EIEIO.


reply via email to

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