aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2007-09-07 19:00:30 +0000
committerStefan Monnier <[email protected]>2007-09-07 19:00:30 +0000
commit98a6dc9f68be9d66b3c23caf00529e16c38d356d (patch)
tree274ee1f5a5dad532860489702279da99e7a1c2b3 /lisp
parente141eb2e9717cdfd112389bd90e0d0616e249e2c (diff)
(vc-arch-checkin): Fix typo.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc-arch.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b1e2ba0f8e..8b757a8db9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-07 Stefan Monnier <[email protected]>
+
+ * vc-arch.el (vc-arch-checkin): Fix typo.
+
2007-09-07 Johan Bockg,Ae(Brd <[email protected]>
* cus-face.el (custom-theme-set-faces): Set face attributes
diff --git a/lisp/vc-arch.el b/lisp/vc-arch.el
index 19c5c0ac9a..840a19a0f6 100644
--- a/lisp/vc-arch.el
+++ b/lisp/vc-arch.el
@@ -370,7 +370,7 @@ Return non-nil if FILE is unchanged."
(defun vc-arch-checkin (files rev comment)
(if rev (error "Committing to a specific revision is unsupported"))
;; FIXME: This implementation probably only works for singleton filesets
- (let ((summary (file-relative-name (car file) (vc-arch-root (car files)))))
+ (let ((summary (file-relative-name (car files) (vc-arch-root (car files)))))
;; Extract a summary from the comment.
(when (or (string-match "\\`Summary:[ \t]*\\(.*[^ \t\n]\\)\\([ \t]*\n\\)*" comment)
(string-match "\\`[ \t]*\\(.*[^ \t\n]\\)[ \t]*\\(\n?\\'\\|\n\\([ \t]*\n\\)+\\)" comment))