Function: ediff--delete-temp-files-on-kill-emacs

ediff--delete-temp-files-on-kill-emacs is a byte-compiled function defined in ediff-util.el.gz.

Signature

(ediff--delete-temp-files-on-kill-emacs)

Documentation

Delete the temp-files associated with the ediff buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/ediff-util.el.gz
(defun ediff--delete-temp-files-on-kill-emacs ()
  "Delete the temp-files associated with the ediff buffers."
  ;; We inhibit interaction and ignore any errors to avoid the situation
  ;; where this hook could prevent kill-emacs from shutting down Emacs,
  ;; because user interaction is not possible (e.g., in a daemon), or
  ;; if deleting these files signals an error.
  (let ((inhibit-interaction t))
    (dolist (b ediff-session-registry)
      (ignore-errors
        (with-current-buffer b
          (ediff-delete-temp-files))))))