(vc-bzr-diff): Use vc-switches rather than the obsolete vc-diff-switches.
authorGlenn Morris <rgm@gnu.org>
Thu, 2 Oct 2008 17:32:40 +0000 (17:32 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 2 Oct 2008 17:32:40 +0000 (17:32 +0000)
lisp/ChangeLog
lisp/vc-bzr.el

index 2424124..cec036f 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-02  Glenn Morris  <rgm@gnu.org>
+
+       * vc-bzr.el (vc-bzr-diff): Use vc-switches rather than the obsolete
+       vc-diff-switches.
+
 2008-10-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 
        * whitespace.el: Eliminate whitespace-kill-buffer-hook functionality,
index ddce0ed..45269e5 100644 (file)
@@ -485,7 +485,7 @@ REV non-nil gets an error."
   ;; `bzr diff' exits with code 1 if diff is non-empty.
   (apply #'vc-bzr-command "diff" (or buffer "*vc-diff*") 'async files
          "--diff-options" (mapconcat 'identity
-                                     (vc-diff-switches-list bzr)
+                                     (vc-switches 'bzr 'diff)
                                     " ")
          ;; This `when' is just an optimization because bzr-1.2 is *much*
          ;; faster when the revision argument is not given.