Skip to content

Commit

Permalink
Replace missing instances of 'eglot--executable-find'
Browse files Browse the repository at this point in the history
  • Loading branch information
phikal committed May 1, 2024
1 parent f88fa01 commit ca50b6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ path of the PROGRAM that was chosen (interactively or
automatically)."
(lambda (&optional interactive _project)
;; JT@2021-06-13: This function is way more complicated than it
;; could be because it accounts for the fact that
;; `eglot--executable-find' may take much longer to execute on
;; could be because it accounts for the fact that Compat's
;; `executable-find' may take much longer to execute on
;; remote files.
(let* ((listified (cl-loop for a in alternatives
collect (if (listp a) a (list a))))
Expand Down Expand Up @@ -1320,7 +1320,7 @@ be guessed."
main-mode base-prompt))
((and program
(not (file-name-absolute-p program))
(not (eglot--executable-find program t)))
(not (compat-call executable-find program t)))
(if full-program-invocation
(concat (format "[eglot] I guess you want to run `%s'"
full-program-invocation)
Expand Down

0 comments on commit ca50b6e

Please sign in to comment.