branch: scratch/editorconfig-cc
commit 0b31539954f777eaf50cd589db04888a09950e7b
Author: 10sr <8slashes+...@gmail.com>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    Throw error when editorconfig executable was not found
---
 editorconfig.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/editorconfig.el b/editorconfig.el
index 8ce47d6fac..014e5dc9e3 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -232,9 +232,7 @@ NOTE: Only the **buffer local** value of VARIABLE will be 
set."
   "Get EditorConfig properties of current buffer by calling 
`editorconfig-exec-path'."
   (if (executable-find editorconfig-exec-path)
     (editorconfig-parse-properties (editorconfig-call-editorconfig-exec))
-    (display-warning :error
-      "Unable to find editorconfig executable.")
-    nil))
+    (error "Unable to find editorconfig executable")))
 
 (defun editorconfig-get-properties ()
   "Get EditorConfig properties of current buffer.

Reply via email to