Function: comint-stop-subjob
comint-stop-subjob is an interactive and byte-compiled function
defined in comint.el.gz.
Signature
(comint-stop-subjob)
Documentation
Stop the current subjob.
WARNING: if there is no current subjob, you can end up suspending
the top-level process running in the buffer. If you accidentally do
this, use M-x comint-continue-subjob (comint-continue-subjob) to resume the process. (This
is not a problem with most shells, since they ignore this signal.)
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-stop-subjob ()
"Stop the current subjob.
WARNING: if there is no current subjob, you can end up suspending
the top-level process running in the buffer. If you accidentally do
this, use \\[comint-continue-subjob] to resume the process. (This
is not a problem with most shells, since they ignore this signal.)"
(interactive nil comint-mode)
(comint-skip-input)
(stop-process nil comint-ptyp))