Variable: term-get-old-input
term-get-old-input is a variable defined in term.el.gz.
Value
term-get-old-input-default
Documentation
Function that submits old text in term 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
term-get-old-input-default, which grabs the current line, and strips off
leading text matching term-prompt-regexp.
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
;;; Here are the per-interpreter hooks.
(defvar term-get-old-input (function term-get-old-input-default)
"Function that submits old text in term 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
`term-get-old-input-default', which grabs the current line, and strips off
leading text matching `term-prompt-regexp'.")