Function: ediff-process-sentinel

ediff-process-sentinel is a byte-compiled function defined in ediff-diff.el.gz.

Signature

(ediff-process-sentinel PROCESS SIGNAL)

Source Code

;; Defined in /usr/src/emacs/lisp/vc/ediff-diff.el.gz
;; like shell-command-sentinel but doesn't print an exit status message
;; we do this because diff always exits with status 1, if diffs are found
;; so shell-command-sentinel displays a confusing message to the user
(defun ediff-process-sentinel (process _signal)
  (if (and (memq (process-status process) '(exit signal))
           (buffer-name (process-buffer process)))
      (progn
        (with-current-buffer (process-buffer process)
          (setq mode-line-process nil))
        (delete-process process))))