chachi / cuda-mode

cuda-mode for Emacs.
25 stars 14 forks source link

Error: Invalid function 0 #6

Closed zhengyang92 closed 8 years ago

zhengyang92 commented 8 years ago

Hi Jack Morrison

I am trying cuda-mode on self-compiled gnu-emacs 24.5.1. When I load a *.cu file emacs throws a error(Invalid function 0), traceback shows the error code is at https://github.com/chachi/cuda-mode/blob/master/cuda-mode.el#L285 . It seems that emacs tries to eval (0 'font-lock-builtin-face). Could you check if there's mistake :-)

Thanks.

chachi commented 8 years ago

Yes, you're very right. I'll fix that ASAP. Thanks for pointing it out!

chachi commented 8 years ago

Okay, fix pushed. Undoes last PR.

zhengyang92 commented 8 years ago

Thank you