branch: scratch/editorconfig-cc
commit 6c18a40b51e459b44af380aa42e111870ab9334f
Author: Hong Xu <h...@topbug.net>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    Make edconf-exec-path a customizable variable.
---
 editorconfig.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/editorconfig.el b/editorconfig.el
index d3378e4ff4..989d8f5702 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -44,7 +44,11 @@
 
 ;;; Code:
 
-(defvar edconf-exec-path "editorconfig")
+(defcustom edconf-exec-path
+  "editorconfig"
+  "EditorConfig command"
+  :type 'string
+  :group 'editorconfig)
 
 (defun edconf-string-integer-p (string)
   "Whether a string representing integer"

Reply via email to