Function: log-edit-insert-cvs-rcstemplate

log-edit-insert-cvs-rcstemplate is an interactive and byte-compiled function defined in log-edit.el.gz.

Signature

(log-edit-insert-cvs-rcstemplate)

Documentation

Insert the RCS commit log template from the CVS repository.

This contacts the repository to get the rcstemplate file and can thus take some time.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/log-edit.el.gz
(defun log-edit-insert-cvs-rcstemplate ()
  "Insert the RCS commit log template from the CVS repository.
This contacts the repository to get the rcstemplate file and
can thus take some time."
  (interactive)
  (when (or (called-interactively-p 'interactive)
            (log-edit-empty-buffer-p))
    (when (file-readable-p "CVS/Root")
      (goto-char (point-max))
      ;; Ignore the stderr stuff, even if it's an error.
      (call-process "cvs" nil '(t nil) nil
                    "checkout" "-p" "CVSROOT/rcstemplate"))))