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.
(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)