Function: comint-goto-process-mark

comint-goto-process-mark is an interactive and byte-compiled function defined in comint.el.gz.

Signature

(comint-goto-process-mark)

Documentation

Move point to the process mark.

The process mark separates output, and input already sent, from input that has not yet been sent.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-goto-process-mark ()
  "Move point to the process mark.
The process mark separates output, and input already sent,
from input that has not yet been sent."
  (interactive nil comint-mode)
  (let ((proc (or (get-buffer-process (current-buffer))
		  (user-error "Current buffer has no process"))))
    (goto-char (process-mark proc))
    (when (called-interactively-p 'interactive)
      (message "Point is now at the process mark"))))