aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-09-24 19:14:58 +0000
committerChong Yidong2008-09-24 19:14:58 +0000
commit92d2ea2ce739d0d9ee5b09a39bb5efe46b8d471b (patch)
tree75a7a1c7ebe2e60cfc440df0cd1c5f4a68079f84
parentb1a6746fb868a1979586939cccbfdb40595b5499 (diff)
downloademacs-92d2ea2ce739d0d9ee5b09a39bb5efe46b8d471b.tar.gz
emacs-92d2ea2ce739d0d9ee5b09a39bb5efe46b8d471b.zip
(vc-default-mark-resolved): New function.
-rw-r--r--lisp/vc.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 88d023a422f..fa2d45e1a3a 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2457,6 +2457,15 @@ to provide the `find-revision' operation instead."
2457 (funcall update-function 2457 (funcall update-function
2458 (mapcar (lambda (file) (list file default-state)) files))) 2458 (mapcar (lambda (file) (list file default-state)) files)))
2459 2459
2460(defun vc-default-mark-resolved (backend files)
2461 (message
2462 (substitute-command-keys
2463 "Conflicts have been resolved in %s. \
2464Type \\[vc-next-action] to check in changes.")
2465 (if (> (length files) 1)
2466 (format "%d files" (length files))
2467 "this file")))
2468
2460(defun vc-check-headers () 2469(defun vc-check-headers ()
2461 "Check if the current file has any headers in it." 2470 "Check if the current file has any headers in it."
2462 (interactive) 2471 (interactive)