From: Glenn Morris Date: Thu, 22 Mar 2012 19:17:43 +0000 (-0400) Subject: Tweak previous vc-bzr change X-Git-Tag: emacs-pretest-24.0.05~73 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b4715d2a084182032d1c7de5527818bf0a2d4a41;p=emacs.git Tweak previous vc-bzr change --- diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el index 0c1e07d44cc..58e1c27c226 100644 --- a/lisp/vc/vc-bzr.el +++ b/lisp/vc/vc-bzr.el @@ -93,8 +93,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." (ignore-errors (with-temp-buffer (call-process vc-bzr-program nil t nil "help" "status") - (goto-char (point-min)) - (if (search-forward "--no-classify") + (if (search-backward "--no-classify" nil t) "--no-classify"))) "String or list of strings specifying switches for bzr status under VC. The option \"--no-classify\" should be present if your bzr supports it."