]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-bzr.el (vc-bzr-program): Support breezy.
authorStefan Kangas <stefan@marxist.se>
Wed, 13 Jul 2022 12:40:53 +0000 (14:40 +0200)
committerStefan Kangas <stefan@marxist.se>
Wed, 13 Jul 2022 12:44:32 +0000 (14:44 +0200)
lisp/vc/vc-bzr.el

index ee394a93af46708718c499d66ba4ff670a477834..072bd72b441eef4ebc8dda2935c417c91636bf4b 100644 (file)
   :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.