summaryrefslogtreecommitdiff
path: root/lisp/vc-arch.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-01-14 07:38:05 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-01-14 07:38:05 +0000
commitba463d9eca5f05817eb843372ebc9e46ecbb471f (patch)
treebc0b28bf00715380c7a0ea0d59e1bcbc6a1e1e48 /lisp/vc-arch.el
parent944df51178e5c6617e89d28a2e6797b02550fde0 (diff)
downloademacs-ba463d9eca5f05817eb843372ebc9e46ecbb471f.tar.gz
* smerge-mode.el (smerge-auto): New function.
* vc-svn.el (vc-svn-find-file-hook): * vc-arch.el (vc-arch-find-file-hook): * pcvs.el (cvs-revert-if-needed): * vc.el (vc-maybe-resolve-conflicts): Use it instead of vc-mode. (top-level): Add a Todo list.
Diffstat (limited to 'lisp/vc-arch.el')
-rw-r--r--lisp/vc-arch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc-arch.el b/lisp/vc-arch.el
index 284fe032a25..97c99dd8193 100644
--- a/lisp/vc-arch.el
+++ b/lisp/vc-arch.el
@@ -360,7 +360,7 @@ Return non-nil if FILE is unchanged."
(if (not (re-search-forward "^<<<<<<< " nil t))
;; The .rej file is obsolete.
(condition-case nil (delete-file rej) (error nil))
- (smerge-mode 1)
+ (smerge-auto)
(add-hook 'after-save-hook
'vc-arch-delete-rej-if-obsolete nil t)
(message "There are unresolved conflicts in this file")))