summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-bzr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc/vc-bzr.el')
-rw-r--r--lisp/vc/vc-bzr.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el
index ee394a93af4..072bd72b441 100644
--- a/lisp/vc/vc-bzr.el
+++ b/lisp/vc/vc-bzr.el
@@ -64,9 +64,13 @@
:version "22.2"
:group 'vc)
-(defcustom vc-bzr-program "bzr"
+(defcustom vc-bzr-program
+ (or (executable-find "bzr")
+ (executable-find "brz")
+ "bzr")
"Name of the bzr command (excluding any arguments)."
- :type 'string)
+ :type 'string
+ :version "29.1")
(defcustom vc-bzr-diff-switches nil
"String or list of strings specifying switches for bzr diff under VC.