diff lisp/vc-bzr.el @ 93671:2b3d42806dcc

(vc-bzr-state): Use when instead of if.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 04 Apr 2008 22:29:02 +0000
parents 702b99dd7604
children 4e76a03232e5
line wrap: on
line diff
--- a/lisp/vc-bzr.el	Fri Apr 04 22:27:26 2008 +0000
+++ b/lisp/vc-bzr.el	Fri Apr 04 22:29:02 2008 +0000
@@ -267,8 +267,8 @@
 (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)