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

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

[elpa] externals/eglot a697084d8d 13/33: Fix #719: fall back to promptin


From: Stefan Kangas
Subject: [elpa] externals/eglot a697084d8d 13/33: Fix #719: fall back to prompting user if eglot-alternatives fails
Date: Sat, 8 Jan 2022 12:30:49 -0500 (EST)

branch: externals/eglot
commit a697084d8dfe29783985f298d38863ea5d59c632
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Fix #719: fall back to prompting user if eglot-alternatives fails
    
    * eglot.el (eglot-alternatives): Don't error in interactive case.
---
 eglot.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 71f7d7ea59..4667526c37 100644
--- a/eglot.el
+++ b/eglot.el
@@ -129,7 +129,10 @@ chosen (interactively or automatically)."
                              nil t nil nil (car (car available)))
                             available #'equal)))
                      ((cdr (car available)))
-                     (t (funcall err)))))
+                     (t
+                      ;; Don't error when used interactively, let the
+                      ;; Eglot prompt the user for alternative (github#719)
+                      nil))))
             (t
              (cl-loop for (p . args) in listified
                       for probe = (eglot--executable-find p t)



reply via email to

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