emacs-diffs
[Top][All Lists]
Advanced

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

master 2ea1265: Properly fix embarassing missing paren typo in jsonrpc.e


From: Joo Tvora
Subject: master 2ea1265: Properly fix embarassing missing paren typo in jsonrpc.el
Date: Fri, 1 May 2020 19:12:02 -0400 (EDT)

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

    Properly fix embarassing missing paren typo in jsonrpc.el
    
    Paul Eggert had fixed it in practice, but the missing paren
    was meant to close a previous with-current-buffer.
    
    * lisp/jsonrpc.el (initialize-instance): Put parenthesis in right spot.
    (Version): Bump to 1.0.11
---
 lisp/jsonrpc.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el
index 696a2da..6cf4131 100644
--- a/lisp/jsonrpc.el
+++ b/lisp/jsonrpc.el
@@ -5,7 +5,7 @@
 ;; Author: João Távora <address@hidden>
 ;; Keywords: processes, languages, extensions
 ;; Package-Requires: ((emacs "25.2"))
-;; Version: 1.0.10
+;; Version: 1.0.11
 
 ;; This is an Elpa :core package.  Don't use functionality that is not
 ;; compatible with Emacs 25.2.
@@ -398,7 +398,7 @@ connection object, called when the process dies .")
         (ignore-errors (kill-buffer hidden-name))
         (rename-buffer hidden-name)
         (process-put proc 'jsonrpc-stderr (current-buffer))
-        (read-only-mode t))
+        (read-only-mode t)))
     (setf (jsonrpc--process conn) proc)
     (set-process-buffer proc (get-buffer-create (format " *%s output*" name)))
     (set-process-filter proc #'jsonrpc--process-filter)
@@ -407,7 +407,7 @@ connection object, called when the process dies .")
       (buffer-disable-undo)
       (set-marker (process-mark proc) (point-min))
       (let ((inhibit-read-only t)) (erase-buffer) (read-only-mode t)))
-    (process-put proc 'jsonrpc-connection conn))))
+    (process-put proc 'jsonrpc-connection conn)))
 
 (cl-defmethod jsonrpc-connection-send ((connection jsonrpc-process-connection)
                                        &rest args



reply via email to

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