[emacs] Multiple cursor delete support

Fixes #2470