aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2008-09-25 01:46:06 +0000
committerChong Yidong <[email protected]>2008-09-25 01:46:06 +0000
commit6002d9b956710e58b1decdc098ea7ef8e9042d07 (patch)
tree7d2eea087241134ab08c459c1ca716c496472cde
parentf41d99b0b46a9732c77208dfe0a18f03b3b044c0 (diff)
Fix last fix.
-rw-r--r--lisp/vc.el22
1 files changed, 11 insertions, 11 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index b4dd9eaf6e..64b1e943f8 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1286,18 +1286,18 @@ After check-out, runs the normal hook `vc-checkout-hook'."
(run-hooks 'vc-checkout-hook))
(defun vc-mark-resolved (backend files)
- (with-vc-properties
- files
- (vc-call-backend backend 'mark-resolved files)
- (message
- (substitute-command-keys
- "Conflicts have been resolved in %s. \
+ (prog1 (with-vc-properties
+ files
+ (vc-call-backend backend 'mark-resolved files)
+ ;; FIXME: Is this TRTD? Might not be.
+ `((vc-state . edited)))
+ (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))))
+ (if (> (length files) 1)
+ (format "%d files" (length files))
+ "this file"))))
(defun vc-steal-lock (file rev owner)
"Steal the lock on FILE."