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

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

[elpa] externals/eglot 5cc8df63d8 08/33: Fix #702: Consider TRAMP in egl


From: Stefan Kangas
Subject: [elpa] externals/eglot 5cc8df63d8 08/33: Fix #702: Consider TRAMP in eglot-alternatives
Date: Sat, 8 Jan 2022 12:30:48 -0500 (EST)

branch: externals/eglot
commit 5cc8df63d86a6c43134dd6e4e3ae26cfae14e66a
Author: Liu Hui <ilupin@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    Fix #702: Consider TRAMP in eglot-alternatives
    
    * eglot.el (eglot-alternatives): Use eglot--executable-find.
    
    Copyright-paperwork-exempt: yes
---
 eglot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 4ead874eec..a6c60e9578 100644
--- a/eglot.el
+++ b/eglot.el
@@ -104,7 +104,8 @@ argument."
   (lambda (&optional interactive)
     (let* ((listified (cl-loop for a in alternatives
                                collect (if (listp a) a (list a))))
-           (available (cl-remove-if-not #'executable-find listified :key 
#'car)))
+           (available (cl-remove-if-not (lambda (a) (eglot--executable-find a 
t))
+                                        listified :key #'car)))
       (cond ((and interactive (cdr available))
              (let ((chosen (completing-read
                             "[eglot] More than one server executable 
available:"



reply via email to

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