(comint-get-next-from-history): New command.