]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix blunder in last commit for lisp/jsonrpc.el
authorJoão Távora <joaotavora@gmail.com>
Sat, 11 Aug 2018 16:08:13 +0000 (17:08 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 11 Aug 2018 16:08:13 +0000 (17:08 +0100)
* lisp/jsonrpc.el (jsonrpc-shutdown): Use jsonrpc--process.

lisp/jsonrpc.el

index 29a3de47a49d50bcc36d482bd5e7bf9e409991e7..43b570cfd92942807062999a97f54e91430bbe3e 100644 (file)
@@ -431,7 +431,7 @@ optional CLEANUP, kill any associated buffers. "
          do (jsonrpc--warn
              "Sentinel for %s still hasn't run,  deleting it!" proc)
          finally return t))
-    (when cleanup (kill-buffer (process-buffer conn)))))
+    (when cleanup (kill-buffer (process-buffer (jsonrpc--process conn))))))
 
 (defun jsonrpc-stderr-buffer (conn)
   "Get CONN's standard error buffer, if any."