Add dinged wrappers for comint-previous-input and comint-next-input