From: João Távora Date: Sat, 11 Aug 2018 16:08:13 +0000 (+0100) Subject: Fix blunder in last commit for lisp/jsonrpc.el X-Git-Tag: emacs-27.0.90~4600 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf1298c7d8aa80432cc357f988ecfb3d6eb4c11c;p=emacs.git Fix blunder in last commit for lisp/jsonrpc.el * lisp/jsonrpc.el (jsonrpc-shutdown): Use jsonrpc--process. --- diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el index 29a3de47a49..43b570cfd92 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."