Function: log-edit-insert-cvs-template
log-edit-insert-cvs-template is an interactive and byte-compiled
function defined in log-edit.el.gz.
Signature
(log-edit-insert-cvs-template)
Documentation
Insert the commit log template specified by the CVS administrator, if any.
This simply uses the local CVS/Template file.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/log-edit.el.gz
(defun log-edit-insert-cvs-template ()
"Insert the commit log template specified by the CVS administrator, if any.
This simply uses the local CVS/Template file."
(interactive)
(when (or (called-interactively-p 'interactive)
(log-edit-empty-buffer-p))
;; Should the template take precedence over an empty Summary:,
;; ie should we first erase the buffer?
(when (file-readable-p "CVS/Template")
(goto-char (point-max))
(insert-file-contents "CVS/Template"))))