Variable: comint-input-sender

comint-input-sender is a variable defined in comint.el.gz.

Value

comint-simple-send

Documentation

Function to actually send to PROCESS the STRING submitted by user.

Usually this is just comint-simple-send, but if your mode needs to massage the input string, put a different function here. comint-simple-send just sends the string plus a newline.
(If comint-input-sender-no-newline is non-nil, it omits the newline.)
This is called from the user command comint-send-input.

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defvar comint-input-sender #'comint-simple-send
  "Function to actually send to PROCESS the STRING submitted by user.
Usually this is just `comint-simple-send', but if your mode needs to
massage the input string, put a different function here.
`comint-simple-send' just sends the string plus a newline.
\(If `comint-input-sender-no-newline' is non-nil, it omits the newline.)
This is called from the user command `comint-send-input'.")