Wilfred / ag.el

An Emacs frontend to The Silver Searcher
http://agel.readthedocs.org/en/latest/
524 stars 61 forks source link

"Autoloading failed to define function vc-svn-root" with ag-project #37

Closed spookylukey closed 10 years ago

spookylukey commented 10 years ago

I got this with both "ag-20140220.1438" from MELPA and "ag-0.36" from marmalade

Thanks.

Wilfred commented 10 years ago

Odd. What's your Emacs version?

spookylukey commented 10 years ago

GNU Emacs 23.4.1

Wilfred commented 10 years ago

Argh, OK. This is something that will much easier once we have good Emacs version test coverage. I think most ag.el users are using 24.x, which is why this issue hasn't cropped up before.

Anyway, poking through the Emacs 23.4 source shows that vc-git-root and vc-hg-root exist, but vc-svn-root does not. Should be a straightforward fix.

Wilfred commented 10 years ago

@spookylukey OK, I've committed a fix for this issue. I've compiled a version of Emacs 23.4 locally and basic functionality seems to work as expected. Let me know if it works.

spookylukey commented 10 years ago

Works for me now - thanks!