Function: cvs-ediff-exit-hook
cvs-ediff-exit-hook is a byte-compiled function defined in pcvs.el.gz.
Signature
(cvs-ediff-exit-hook CVS-BUF TMP-BUFS)
Source Code
;; Defined in /usr/src/emacs/lisp/vc/pcvs.el.gz
(defun cvs-ediff-exit-hook (cvs-buf tmp-bufs)
;; kill the temp buffers (and their associated windows)
(dolist (tb tmp-bufs)
(when (and tb (buffer-live-p tb) (not (buffer-modified-p tb)))
(let ((win (get-buffer-window tb t)))
(kill-buffer tb)
(when (window-live-p win) (ignore-errors (delete-window win))))))
;; switch back to the *cvs* buffer
(when (and cvs-buf (buffer-live-p cvs-buf)
(not (get-buffer-window cvs-buf t)))
(ignore-errors (switch-to-buffer cvs-buf))))