emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master bf1298c: Fix blunder in last commit for lisp/jsonrp


From: João Távora
Subject: [Emacs-diffs] master bf1298c: Fix blunder in last commit for lisp/jsonrpc.el
Date: Sat, 11 Aug 2018 12:09:31 -0400 (EDT)

branch: master
commit bf1298c7d8aa80432cc357f988ecfb3d6eb4c11c
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Fix blunder in last commit for lisp/jsonrpc.el
    
    * lisp/jsonrpc.el (jsonrpc-shutdown): Use jsonrpc--process.
---
 lisp/jsonrpc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el
index 29a3de4..43b570c 100644
--- a/lisp/jsonrpc.el
+++ b/lisp/jsonrpc.el
@@ -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."



reply via email to

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