jacktasia / dumb-jump

an Emacs "jump to definition" package for 50+ languages
GNU General Public License v3.0
1.57k stars 150 forks source link

Replace add-to-list with add-hook #358

Closed phikal closed 4 years ago

phikal commented 4 years ago

As pointed out in #350, add-to-list breaks if xref hasn't been loaded yet. add-hook handles this situation better, and should be the recommended way of integrating dumb-jump into xref.