Function: eglot--list-connections-cmd

eglot--list-connections-cmd is a macro defined in eglot.el.gz.

Signature

(eglot--list-connections-cmd NAME S DOC &body BODY)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(cl-defmacro eglot--list-connections-cmd (name s doc &body body)
  (declare (indent 2) (debug (sexp sexp sexp &rest form)))
  `(defun ,name ()
     ,doc (interactive)
     (if-let* ((,s (tabulated-list-get-id)))
         (progn ,@body (tabulated-list-revert))
       (user-error "No server on this line"))))