emacs-devel
[Top][All Lists]
Advanced

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

Re: Allow xref to use other than current major-mode


From: Stefan Monnier
Subject: Re: Allow xref to use other than current major-mode
Date: Tue, 25 Aug 2015 18:15:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> I've started writing such a thing, but it gets defeated by the fact that
> xref--read-identifier uses the buffer-local value of
> xref-identifier-completion-table-function, which is set by elisp-mode
> (or c-mode, etc, or by default to etags). There's no way to change that.

Could it help if those major modes were careful to use add-function and
to not completely override the global value?


        Stefan



reply via email to

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