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
6efbb10c
Commit
6efbb10c
authored
Apr 04, 2008
by
Dan Nicolaescu
Browse files
(vc-bzr-state): Use when instead of if.
parent
5a84a937
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/vc-bzr.el
lisp/vc-bzr.el
+2
-2
No files found.
lisp/ChangeLog
View file @
6efbb10c
2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
* vc-bzr.el (vc-bzr-state): Use when instead of if.
* vc.el (vc-default-status-fileinfo-extra): New function.
(vc-status-mark-buffer-changed): Use it.
(vc-update-vc-status-buffer): Allow for partial updates.
...
...
lisp/vc-bzr.el
View file @
6efbb10c
...
...
@@ -267,8 +267,8 @@ If any error occurred in running `bzr status', then return nil."
(
defun
vc-bzr-state
(
file
)
(
lexical-let
((
result
(
vc-bzr-status
file
)))
(
when
(
consp
result
)
(
if
(
cdr
result
)
(
message
"Warnings in `bzr' output: %s"
(
cdr
result
)))
(
when
(
cdr
result
)
(
message
"Warnings in `bzr' output: %s"
(
cdr
result
)))
(
cdr
(
assq
(
car
result
)
'
((
added
.
added
)
(
kindchanged
.
edited
)
...
...
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