[emacs mode] Prevent actions in temporary buffers from interfering with mark

 - there are more temporary buffers with insert actions happening
 - this catches all the cases in post-command-hook