Compile the emacs mode

This allows to improve performances