emacs: fix off-by-one bug in merlin-edit.