Combine multiple Xref backends
Bump version to 0.1.1 for GNU ELPA
Assign copyright to the FSF
1106671c — Philip Kaludercic 6 months ago
Interpret 'xref-union-excluded-backends' as a predicate


browse  log 



You can also use your local clone with git send-email.

#Meta-Xref backend

Find here the source for xref-union.el, an meta-Xref backed for combining the results of multiple other backends.


Xref-union.el is avaliable from GNU ELPA. It can be installed by invoking

M-x package-install RET xref-union RET


The easiest way to use the package is to enable the xref-union-mode minor mode, manually or by adding a hook to whatever mode you expect using the package with

(add-hook 'foo-bar-mode-hook 'xref-union-mode)

This will merge all the other backends into one.

You can also manually choose what backends to combine, by enumerating them in an object like:

'(union some-randomxref-backend etags--xref-backend)

and adding that to xref-backend-functions.


As xref-union.el is distribed as part of GNU ELPA, and therefore requires a copyright assignment to the FSF, for all non-trivial code contributions.

#Source code

Xref-union.el is developed on SourceHut.

#Bugs and Patches

Bugs, patches, comments or questions can be submitted to my public inbox.


Xref-union.el and all other source files in this directory are distributed under the GNU Public License, Version 3 (like Emacs itself).