Variable: comint-get-old-input
comint-get-old-input is a variable defined in comint.el.gz.
Value
comint-get-old-input-default
Documentation
Function that returns old text in Comint mode.
This function is called when return is typed while the point is in old
text. It returns the text to be submitted as process input. The
default is comint-get-old-input-default, which either grabs the
current input field or grabs the current line and strips off leading
text matching comint-prompt-regexp, depending on the value of
comint-use-prompt-regexp.
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
;; Here are the per-interpreter hooks.
(defvar comint-get-old-input (function comint-get-old-input-default)
"Function that returns old text in Comint mode.
This function is called when return is typed while the point is in old
text. It returns the text to be submitted as process input. The
default is `comint-get-old-input-default', which either grabs the
current input field or grabs the current line and strips off leading
text matching `comint-prompt-regexp', depending on the value of
`comint-use-prompt-regexp'.")