ScottyB / ac-js2

Javascript auto-completion in Emacs using Js2-mode's parser and Skewer-mode.
123 stars 8 forks source link

Error (void-variable for) #24

Closed pinkfloydsito closed 7 years ago

pinkfloydsito commented 7 years ago

My setup works pretty good except for this little detail, this keeps showing up, this just happens with ac-js2. Anyone knows how to fix this?

image

Here is the stacktrace... image

kgritesh commented 7 years ago

Hi @PinkFLoyd92 i am facing the same error were you able to solve this

kgritesh commented 7 years ago

This issue is caused by missing explicit require to cl, and your Emacs set-up probably doesn't include anything else which loads that library. I was able to solve it by M-x load-library RET cl RET. You should also put (require 'cl) in your emacs start-up file. Taken from responses to this issue

pinkfloydsito commented 7 years ago

Thanks, that fixed the problem for me!