Function: comint-delete-input

comint-delete-input is a byte-compiled function defined in comint.el.gz.

Signature

(comint-delete-input)

Documentation

Delete all input between accumulation or process mark and point.

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-delete-input ()
  "Delete all input between accumulation or process mark and point."
  (delete-region
   ;; Can't use kill-region as it sets this-command
   (or  (marker-position comint-accum-marker)
	(process-mark (get-buffer-process (current-buffer))))
   (point-max)))