Variable: comint-use-prompt-regexp
comint-use-prompt-regexp is a customizable variable defined in
comint.el.gz.
Value
nil
Documentation
If non-nil, use comint-prompt-regexp to recognize prompts.
If nil, then program output and user-input are given different field
properties, which Emacs commands can use to distinguish them (in
particular, common movement commands such as beginning-of-line
respect field boundaries in a natural way).
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
;; Note: If it is decided to purge comint-prompt-regexp from the source
;; entirely, searching for uses of this variable will help to identify
;; places that need attention.
(defcustom comint-use-prompt-regexp nil
"If non-nil, use `comint-prompt-regexp' to recognize prompts.
If nil, then program output and user-input are given different `field'
properties, which Emacs commands can use to distinguish them (in
particular, common movement commands such as `beginning-of-line'
respect field boundaries in a natural way)."
:type 'boolean
:group 'comint)