Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
98a6dc9f
Commit
98a6dc9f
authored
Sep 07, 2007
by
Stefan Monnier
Browse files
(vc-arch-checkin): Fix typo.
parent
e141eb2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/vc-arch.el
lisp/vc-arch.el
+1
-1
No files found.
lisp/ChangeLog
View file @
98a6dc9f
2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
* vc-arch.el (vc-arch-checkin): Fix typo.
2007-09-07 Johan Bockg,Ae(Brd <bojohan@gnu.org>
* cus-face.el (custom-theme-set-faces): Set face attributes
...
...
lisp/vc-arch.el
View file @
98a6dc9f
...
...
@@ -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
file
s
)
(
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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment