From 5631f6d6371c243b85c54c20f3baa5a44b40c5c3 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 5 Jun 2020 19:41:47 -0400 Subject: piem: Take in some options from -b4 These are things that will be used outside of piem-b4. --- piem.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'piem.el') diff --git a/piem.el b/piem.el index a6b3819..d4a0e1b 100644 --- a/piem.el +++ b/piem.el @@ -129,6 +129,16 @@ intended to be used by libraries implementing a function for (when (string-match-p (regexp-quote addr) to) (throw 'hit (car inbox))))))))) +(defcustom piem-git-executable + (or (and (boundp 'magit-git-executable) magit-git-executable) + "git") + "Which git executable to use." + :type 'string) + +(defcustom piem-use-magit (featurep 'magit) + "Whether to use Magit where possible." + :type 'boolean) + ;;;; Subprocess handling -- cgit v1.2.3