brotzeit/helm-xref

helm-xref-show-xrefs: Wrong type argument

Closed this issue · 5 comments

Executing the find references on a project with lsp gives the following error:

helm-xref-show-xrefs: Wrong type argument: listp, #[0 "�ÇÃ!��Ãq�È1�Äb0������ÆÅÂ\"��&ÉÁÀ\"��²�)�" [
  • Environment:
    Emacs 26.3 with spacemacs
  • helm-xref version:
    helm-xref-20201004.1817

Does it work when you don't use helm-xref ?

I am observing this issue as well. It goes away when I set xref-show-xrefs-function back to xref--show-xref-buffer

The solution seems to be to do this:

(setq xref-show-xrefs-function 'helm-xref-show-xrefs-27)

I was previously setting it to the version without -27. I assume this is something I missed in an update.

Yeah I expected that when I applied the changes. I leave it open for others, although the change is pretty old =)

The comment by @jefftrull seems to solve it for me since I am Emacs 26

Not sure -27 version will work for me.