emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 8066669826: * lisp/vc/vc-bzr.el (vc-bzr-program): Support breezy.


From: Stefan Kangas
Subject: master 8066669826: * lisp/vc/vc-bzr.el (vc-bzr-program): Support breezy.
Date: Wed, 13 Jul 2022 08:44:54 -0400 (EDT)

branch: master
commit 806666982602de80e889c2e59c347eb9e0aabd77
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    * lisp/vc/vc-bzr.el (vc-bzr-program): Support breezy.
---
 lisp/vc/vc-bzr.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el
index ee394a93af..072bd72b44 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]