emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] scratch/editorconfig-cc 9de91946be 134/351: By default always u


From: Stefan Monnier
Subject: [nongnu] scratch/editorconfig-cc 9de91946be 134/351: By default always use Emacs Lisp Core when accessing remote files (#118)
Date: Thu, 13 Jun 2024 18:38:47 -0400 (EDT)

branch: scratch/editorconfig-cc
commit 9de91946bef61f654b775aa679f7b382e588758d
Author: 10sr <8slashes+git@gmail.com>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]