term-get-old-input

term-get-old-input is a variable defined in `term.el'.
Its value is
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'.