From b864866dac26a959d3f7fabf7eefb7edc03a18ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Wed, 16 Aug 2017 13:02:05 +0100 Subject: [PATCH] Minor cleanup --- lisp/progmodes/eglot.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 5699775a2bb..479e87ae565 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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." -- 2.39.2