aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-09-25 01:44:23 +0000
committerChong Yidong2008-09-25 01:44:23 +0000
commitf41d99b0b46a9732c77208dfe0a18f03b3b044c0 (patch)
tree668f0b79f17a6dbd28fdfd5172fb041d285ee26a
parent51dde7dc8a96079be86f92ed1d2f18f562d49b41 (diff)
downloademacs-f41d99b0b46a9732c77208dfe0a18f03b3b044c0.tar.gz
emacs-f41d99b0b46a9732c77208dfe0a18f03b3b044c0.zip
(vc-mark-resolved): Move message here from vc-default-mark-resolved.
(vc-default-mark-resolved): Change to an alias for ignore.
-rw-r--r--lisp/vc.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index fa2d45e1a3a..b4dd9eaf6ef 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1289,6 +1289,13 @@ After check-out, runs the normal hook `vc-checkout-hook'."
1289 (with-vc-properties 1289 (with-vc-properties
1290 files 1290 files
1291 (vc-call-backend backend 'mark-resolved files) 1291 (vc-call-backend backend 'mark-resolved files)
1292 (message
1293 (substitute-command-keys
1294 "Conflicts have been resolved in %s. \
1295Type \\[vc-next-action] to check in changes.")
1296 (if (> (length files) 1)
1297 (format "%d files" (length files))
1298 "this file"))
1292 ;; FIXME: Is this TRTD? Might not be. 1299 ;; FIXME: Is this TRTD? Might not be.
1293 `((vc-state . edited)))) 1300 `((vc-state . edited))))
1294 1301
@@ -2452,20 +2459,12 @@ to provide the `find-revision' operation instead."
2452 (message "Checking out %s...done" file)))) 2459 (message "Checking out %s...done" file))))
2453 2460
2454(defalias 'vc-default-revision-completion-table 'ignore) 2461(defalias 'vc-default-revision-completion-table 'ignore)
2462(defalias 'vc-default-mark-resolved 'ignore)
2455 2463
2456(defun vc-default-dir-status-files (backend dir files default-state update-function) 2464(defun vc-default-dir-status-files (backend dir files default-state update-function)
2457 (funcall update-function 2465 (funcall update-function
2458 (mapcar (lambda (file) (list file default-state)) files))) 2466 (mapcar (lambda (file) (list file default-state)) files)))
2459 2467
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
2469(defun vc-check-headers () 2468(defun vc-check-headers ()
2470 "Check if the current file has any headers in it." 2469 "Check if the current file has any headers in it."
2471 (interactive) 2470 (interactive)