# HG changeset patch # User Chong Yidong # Date 1222283698 0 # Node ID c5442f5091097a4db35073444532115ade086902 # Parent a15398006f0d1c377029ee3444d3f7f7626aa94d (vc-default-mark-resolved): New function. diff -r a15398006f0d -r c5442f509109 lisp/vc.el --- a/lisp/vc.el Wed Sep 24 19:14:48 2008 +0000 +++ b/lisp/vc.el Wed Sep 24 19:14:58 2008 +0000 @@ -2457,6 +2457,15 @@ (funcall update-function (mapcar (lambda (file) (list file default-state)) files))) +(defun vc-default-mark-resolved (backend files) + (message + (substitute-command-keys + "Conflicts have been resolved in %s. \ +Type \\[vc-next-action] to check in changes.") + (if (> (length files) 1) + (format "%d files" (length files)) + "this file"))) + (defun vc-check-headers () "Check if the current file has any headers in it." (interactive)