Function: eglot--find-buffer-visiting
eglot--find-buffer-visiting is a byte-compiled function defined in
eglot.el.gz.
Signature
(eglot--find-buffer-visiting SERVER ABSPATH)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defun eglot--find-buffer-visiting (server abspath)
;; `find-buffer-visiting' would be natural, but calls the
;; potentially slow `file-truename' (bug#70036).
(cl-loop for b in (eglot--managed-buffers server)
when (with-current-buffer b
(or
(equal abspath buffer-file-name)
(equal (car eglot--TextDocumentIdentifier-cache)
abspath)))
return b))