Function: comint-kill-input

comint-kill-input is an interactive and byte-compiled function defined in comint.el.gz.

Signature

(comint-kill-input)

Documentation

Kill all text from last stuff output by interpreter to point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-kill-input ()
  "Kill all text from last stuff output by interpreter to point."
  (interactive)
  (let ((pmark (process-mark (get-buffer-process (current-buffer)))))
    (if (> (point) (marker-position pmark))
	(kill-region pmark (point)))))