Function: log-edit-insert-message-template
log-edit-insert-message-template is an interactive and byte-compiled
function defined in log-edit.el.gz.
Signature
(log-edit-insert-message-template)
Documentation
Insert the default VC commit log template with Summary and Author.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/log-edit.el.gz
(defun log-edit-insert-message-template ()
"Insert the default VC commit log template with Summary and Author."
(interactive)
(when (or (called-interactively-p 'interactive)
(log-edit-empty-buffer-p))
(dolist (header (append '("Summary") (and log-edit-setup-add-author
'("Author"))))
;; Make `C-a' work like in other buffers with header names.
(insert (propertize (concat header ": ")
'field 'header
'rear-nonsticky t)
"\n"))
(insert "\n")
(message-position-point)))