aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc.el
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2008-09-25 01:44:23 +0000
committerChong Yidong <[email protected]>2008-09-25 01:44:23 +0000
commitf41d99b0b46a9732c77208dfe0a18f03b3b044c0 (patch)
tree668f0b79f17a6dbd28fdfd5172fb041d285ee26a /lisp/vc.el
parent51dde7dc8a96079be86f92ed1d2f18f562d49b41 (diff)
(vc-mark-resolved): Move message here from vc-default-mark-resolved.
(vc-default-mark-resolved): Change to an alias for ignore.
Diffstat (limited to 'lisp/vc.el')
-rw-r--r--lisp/vc.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index fa2d45e1a3..b4dd9eaf6e 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1289,6 +1289,13 @@ After check-out, runs the normal hook `vc-checkout-hook'."
(with-vc-properties
files
(vc-call-backend backend 'mark-resolved 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"))
;; FIXME: Is this TRTD? Might not be.
`((vc-state . edited))))
@@ -2452,20 +2459,12 @@ to provide the `find-revision' operation instead."
(message "Checking out %s...done" file))))
(defalias 'vc-default-revision-completion-table 'ignore)
+(defalias 'vc-default-mark-resolved 'ignore)
(defun vc-default-dir-status-files (backend dir files default-state update-function)
(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)