Swap M-h and M-p in comint mode.