Don't reset post-command-hook to nil upon error.