Make new lines work in emacs when cursor is in leader.

Closes #21.