racer-rust / emacs-racer

Racer support for Emacs
398 stars 48 forks source link

Racer can't load on Emacs 24.5 #39

Closed JennToo closed 8 years ago

JennToo commented 8 years ago

I get this on startup:

Warning (initialization): An error occurred while loading `/home/nitori/.emacs.d/init.el':

Symbol's value as variable is void: xref-backend-identifier-at-point

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

The config is pretty basic:

(use-package
  racer
  :ensure t
  :config
  (progn
    (add-hook 'rust-mode-hook #'racer-mode)
    (add-hook 'racer-mode-hook #'eldoc-mode)
    (add-hook 'racer-mode-hook #'company-mode)))

Seems related to the merge of #34.

ane commented 8 years ago

http://i.imgur.com/iWKad22.jpg

ane commented 8 years ago

That should fix it. We'll wait until Emacs 25 is released and create a version of the script that's backwards compatible.

I should have tested it on Emacs 24.5...

vibhavp commented 8 years ago

Sorry about that!