comint-last-prompt-overlay is not defined in Emacs 24.4.