diff lisp/vc.el @ 98326:c5442f509109

(vc-default-mark-resolved): New function.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 24 Sep 2008 19:14:58 +0000
parents 4a399b9bc4b9
children 26ff192a882a
line wrap: on
line diff
--- 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)