Function: term-set-goto-process-mark
term-set-goto-process-mark is a byte-compiled function defined in
term.el.gz.
Signature
(term-set-goto-process-mark)
Documentation
Always set to nil if term-char-mode-point-at-process-mark is nil.
Called as a buffer-local pre-command-hook function in
term-char-mode so that when point is equal to the process mark
at the pre-command stage, we know to restore point to the process
mark at the post-command stage.
See also term-goto-process-mark-maybe.
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-set-goto-process-mark ()
"Set `term-goto-process-mark'.
Always set to nil if `term-char-mode-point-at-process-mark' is nil.
Called as a buffer-local `pre-command-hook' function in
`term-char-mode' so that when point is equal to the process mark
at the pre-command stage, we know to restore point to the process
mark at the post-command stage.
See also `term-goto-process-mark-maybe'."
(setq term-goto-process-mark
(and term-char-mode-point-at-process-mark
(eq (point) (marker-position (term-process-mark))))))