~pkal/xref-union

Bump version to 0.2.0
Update outdated documentation in Commentary
Add missing (require ...) statements
Run M-x untabify
Return first match in 'xref-backend-identifier-at-point'
Call correct method in 'xref-backend-identifier-completion-table'
Rework implementation of 'xref-union-mode'
Fix usage of the 'head' specialiser
Bump version to 0.1.1 for GNU ELPA
Assign copyright to the FSF
1106671c — Philip Kaludercic 1 year, 4 months ago
Interpret 'xref-union-excluded-backends' as a predicate
0d585d72 — Philip Kaludercic 1 year, 4 months ago
Fix construction of union backends

We cannot just directly use xref-backend-functions, since a hook is
not just a list of functions that are to executed.  Quoting from
(elisp) Running Hooks,

     If the hook variable is buffer-local, the buffer-local variable
     will be used instead of the global variable.  However, if the
     buffer-local variable contains the element ‘t’, the global hook
     variable will be run as well.

Hence we need to collect all the functions that we want to add to the
union backend, in this case by using `run-hook-wrapped' and storing
the backends the hook generates.
9f8e4d83 — Philip Kaludercic 1 year, 4 months ago
Initial import