Function: comint-accumulate
comint-accumulate is an interactive and byte-compiled function defined
in comint.el.gz.
Signature
(comint-accumulate)
Documentation
Accumulate a line to send as input along with more lines.
This inserts a newline so that you can enter more text
to be sent along with this line. Use M-x comint-send-input (comint-send-input)
to send all the accumulated input, at once.
The entire accumulated text becomes one item in the input history
when you send it.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-accumulate ()
"Accumulate a line to send as input along with more lines.
This inserts a newline so that you can enter more text
to be sent along with this line. Use \\[comint-send-input]
to send all the accumulated input, at once.
The entire accumulated text becomes one item in the input history
when you send it."
(interactive)
(insert "\n")
(set-marker comint-accum-marker (point))
(if comint-input-ring-index
(setq comint-save-input-ring-index
(- comint-input-ring-index 1))))