1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

(vc-bzr-diff): Use vc-switches rather than the obsolete vc-diff-switches.

This commit is contained in:
Glenn Morris 2008-10-02 17:32:40 +00:00
parent 06b2d4c6a2
commit 60aff9248a
2 changed files with 6 additions and 1 deletions

View 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,

View 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.