[Emacs mode] Stop error propagation at post-command-hook