Function: eglot-shutdown-all

eglot-shutdown-all is an interactive and byte-compiled function defined in eglot.el.gz.

Signature

(eglot-shutdown-all &optional PRESERVE-BUFFERS)

Documentation

Politely ask all language servers to quit, in order.

PRESERVE-BUFFERS as in eglot-shutdown, which see.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defun eglot-shutdown-all (&optional preserve-buffers)
  "Politely ask all language servers to quit, in order.
PRESERVE-BUFFERS as in `eglot-shutdown', which see."
  (interactive (list current-prefix-arg))
  (cl-loop for ss being the hash-values of eglot--servers-by-project
           do (with-demoted-errors "[eglot] shutdown all: %s"
                (cl-loop for s in ss do (eglot-shutdown s nil nil preserve-buffers)))))