Function: vc-process-filter
vc-process-filter is a byte-compiled function defined in
vc-dispatcher.el.gz.
Signature
(vc-process-filter P S)
Documentation
An alternative output filter for async process P.
One difference with the default filter is that this inserts S after markers. Another is that undo information is not kept.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-dispatcher.el.gz
;; Common command execution logic
(defun vc-process-filter (p s)
"An alternative output filter for async process P.
One difference with the default filter is that this inserts S after markers.
Another is that undo information is not kept."
(let ((buffer (process-buffer p)))
(when (buffer-live-p buffer)
(with-current-buffer buffer
(save-excursion
(let ((buffer-undo-list t)
(inhibit-read-only t))
(goto-char (process-mark p))
(insert s)
(set-marker (process-mark p) (point))))))))