summaryrefslogtreecommitdiff
path: root/piem.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-06-05 19:41:47 -0400
committerKyle Meyer <kyle@kyleam.com>2020-06-06 00:09:01 -0400
commit5631f6d6371c243b85c54c20f3baa5a44b40c5c3 (patch)
tree46b259726a269072888e8a64182f526d6d289ed9 /piem.el
parent4a32347513643b5b45e00a7e8c7d1fac8d8a4103 (diff)
downloadpiem-5631f6d6371c243b85c54c20f3baa5a44b40c5c3.tar.gz
piem: Take in some options from -b4
These are things that will be used outside of piem-b4.
Diffstat (limited to 'piem.el')
-rw-r--r--piem.el10
1 files changed, 10 insertions, 0 deletions
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