Function: vc-modify-change-comment

vc-modify-change-comment is a byte-compiled function defined in vc.el.gz.

Signature

(vc-modify-change-comment FILES REV OLDCOMMENT)

Documentation

Edit the comment associated with the given files and revision.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defun vc-modify-change-comment (files rev oldcomment)
  "Edit the comment associated with the given files and revision."
  ;; Less of a kluge than it looks like; log-view mode only passes
  ;; this function a singleton list.  Arguments left in this form in
  ;; case the more general operation ever becomes meaningful.
  (let ((backend (vc-responsible-backend (car files))))
    (vc-start-logentry
     files oldcomment t
     "Enter a replacement change comment."
     "*vc-log*"
     (lambda () (vc-call-backend backend 'log-edit-mode))
     (lambda (files comment)
       (vc-call-backend backend
                        'modify-change-comment files rev comment)))))