comint-get-old-input-default: behavior follows docstring