redguardtoo / js-comint

js-comint will send the code from Emacs into node.js or rhino
GNU General Public License v3.0
69 stars 22 forks source link

Fix sexp functions to work with top level JS forms. #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hey redguardtoo! I've modified the sexp functions to work with functions at the top-level. Previously, I was getting a hung process as the backward-sexp function was going to the beginning of the block, rather than the beginning of the function token. Hopefully this helps out! Thank you!