mooz / js-doc

Insert JsDoc style comment easily in Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`js-doc-insert-function-doc` causes Emacs to hang

xiongtx opened this issue · comments

With js-doc 0.0.5, invoking js-doc-insert-function-doc on a file containing only the following causes Emacs 24.5.50.1 to hang.

function foo(bar){

}

Strangely, if js-doc-insert-file-doc is called first, this problem does not occur.

I followed your steps with Emacs (prelude) 24.4.1, but all is fine

js-doc-insert-function-doc will cause emacs to hang then eventually crash.. if your cursor is at a blank line.