]> git.eshelyaron.com Git - emacs.git/commitdiff
Minor cleanup
authorJoão Távora <joaotavora@gmail.com>
Wed, 16 Aug 2017 12:02:05 +0000 (13:02 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 16 Aug 2017 12:52:00 +0000 (13:52 +0100)
lisp/progmodes/eglot.el

index 5699775a2bbebc1c89af89322bf0068863fc0688..479e87ae565a0ae02985bc659083d5d9dbc6ba18 100644 (file)
     (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
                (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)
 
 \f
 ;;; Requests
-;;; 
-
+;;;
 (defun eglot--protocol-initialize (process interactive)
   (eglot--request
    process
 \f
 ;;; Mode line
 ;;;
-
-
 (defface eglot-mode-line
   '((t (:inherit font-lock-constant-face :weight bold)))
   "Face for package-name in EGLOT's mode line."