branch: scratch/editorconfig-cc
commit 9de91946bef61f654b775aa679f7b382e588758d
Author: 10sr <[email protected]>
Commit: Stefan Monnier <[email protected]>
By default always use Emacs Lisp Core when accessing remote files (#118)
---
editorconfig.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/editorconfig.el b/editorconfig.el
index cd68c17a56..7c212e949d 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -285,7 +285,8 @@ current buffer yet.")
It calls `editorconfig-get-properties-from-exec' if
`editorconfig-exec-path' is found, otherwise
`editorconfig-core-get-properties-hash'."
- (if (executable-find editorconfig-exec-path)
+ (if (and (executable-find editorconfig-exec-path)
+ (not (file-remote-p buffer-file-name)))
(editorconfig-get-propergies-from-exec)
(require 'editorconfig-core)
(editorconfig-core-get-properties-hash)))