[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allow xref to use other than current major-mode
From: |
Stephen Leake |
Subject: |
Re: Allow xref to use other than current major-mode |
Date: |
Tue, 25 Aug 2015 09:47:37 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) |
David Engster <address@hidden> writes:
> Dmitry Gutov writes:
>> On 08/25/2015 01:00 PM, Stephen Leake wrote:
>>
>>> To handle this, I propose changing both
>>> xref-identifier-completion-table-function and xref-find-function to be
>>> mode-local, instead of buffer-local.
>>
>> That seems unnecessarily limiting. First, mode-local facility is a
>> part of CEDET, so it would need to be always loaded.
>
> mode-local does not depend on anything from CEDET.
Well, mode-local.el is in cedet/, but it does not depend on anything
_else_ from CEDET.
On the gripping hand, mode-local.el is not pre-loaded, so elisp-mode.el
cannot require it. cl-generic.el is pre-loaded.
--
-- Stephe