emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot e8f0d89 02/16: * jsonrpc.el (jsonrpc-process-type


From: João Távora
Subject: [elpa] externals/eglot e8f0d89 02/16: * jsonrpc.el (jsonrpc-process-type): Actually return process-type.
Date: Mon, 9 Jul 2018 17:27:12 -0400 (EDT)

branch: externals/eglot
commit e8f0d89d5a985dc0973cbb4938d6f2ce717dec9b
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    * jsonrpc.el (jsonrpc-process-type): Actually return process-type.
---
 jsonrpc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jsonrpc.el b/jsonrpc.el
index ef33a38..56a80f6 100644
--- a/jsonrpc.el
+++ b/jsonrpc.el
@@ -450,7 +450,7 @@ connection object, called when the process dies .")
 
 (defun jsonrpc-process-type (conn)
   "Return the `process-type' of JSONRPC connection CONN."
-  (let ((proc (jsonrpc--process conn))) (and (process-live-p proc) proc)))
+  (process-type (jsonrpc--process conn)))
 
 (cl-defmethod jsonrpc-running-p ((conn jsonrpc-process-connection))
   "Return non-nil if JSONRPC connection CONN is running."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]