[Top][All Lists]

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

Re: Generalizing find-definition

From: Stephen Leake
Subject: Re: Generalizing find-definition
Date: Wed, 19 Nov 2014 18:21:29 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt)

Stefan Monnier <address@hidden> writes:

>> +(defvar find-definition-identifier-function nil
> I suggest you collapse those two function variables into one: if called
> with a nil value (or without argument), then just find the definitions
> of "thing at point" and if called with a string, then find the
> definitions of that identifier.

Keeping two variables puts that logic in the front-end, so all the
backends don't have to implement it, and we can change it for everyone

-- Stephe

reply via email to

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