diff --git a/src/command.lisp b/src/command.lisp index de8b08f31..ac8867c18 100644 --- a/src/command.lisp +++ b/src/command.lisp @@ -38,9 +38,9 @@ (flet ((post-command () (buffer-undo-boundary) (run-hooks *post-command-hook*))) - (prog1 (handler-bind ((editor-error (lambda (e) - (declare (ignore e)) - (post-command)))) + (prog1 (handler-bind ((editor-condition (lambda (e) + (declare (ignore e)) + (post-command)))) (execute (get-active-modes-class-instance (current-buffer)) *this-command* universal-argument))