Bugfix in comint-previous-input-dinged