summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-13 14:40:53 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-13 14:44:32 +0200
commit806666982602de80e889c2e59c347eb9e0aabd77 (patch)
treeadf02dc546bfa447aef0593488f961f4e78c137d
parent3d7a8320928a186bd567ff880ccf0fa872b969d1 (diff)
downloademacs-806666982602de80e889c2e59c347eb9e0aabd77.tar.gz
* lisp/vc/vc-bzr.el (vc-bzr-program): Support breezy.
-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.