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
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-union.el is developed on SourceHut.
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).