branch: externals/elpa commit bc011d00523eca1434e5300710de82c4c63deb65 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Minor cleanup --- eglot.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/eglot.el b/eglot.el index 5699775..479e87a 100644 --- a/eglot.el +++ b/eglot.el @@ -117,6 +117,7 @@ (let ((current-process (eglot--current-process))) (when (and current-process (process-live-p current-process)) + (eglot--message "Asking current process to terminate first") (eglot-quit-server current-process 'sync))) (let* ((short-name (file-name-base (directory-file-name @@ -148,7 +149,6 @@ (format "\n-----------------------------------\n")))) (eglot--protocol-initialize proc interactive)))))) - (defun eglot--process-sentinel (process change) (with-current-buffer (process-buffer process) (eglot--debug "Process state changed to %s" change) @@ -353,8 +353,7 @@ ;;; Requests -;;; - +;;; (defun eglot--protocol-initialize (process interactive) (eglot--request process @@ -445,8 +444,6 @@ ;;; Mode line ;;; - - (defface eglot-mode-line '((t (:inherit font-lock-constant-face :weight bold))) "Face for package-name in EGLOT's mode line."