emacs: minor commit
emacs: minor commit

Moved Ronan's code with the rest of the error reporting code.

chambart/merlin,neojski/merlin,fxfactorial/merlin,haselwarter/merlin,the-lambda-church/merlin,dra27/merlin,dra27/merlin,dra27/merlin,ocaml/merlin,haselwarter/merlin,chriskonstad/merlin,neojski/merlin,rgrinberg/merlin,chriskonstad/merlin,fxfactorial/merlin,dra27/merlin,chambart/merlin,fxfactorial/merlin,haselwarter/merlin,chambart/merlin,neojski/merlin,ocaml/merlin,the-lambda-church/merlin,the-lambda-church/merlin,fxfactorial/merlin,chambart/merlin,rgrinberg/merlin,ocaml/merlin,rgrinberg/merlin,ocaml/merlin,rgrinberg/merlin,neojski/merlin,haselwarter/merlin