From d2f95ea44c8ea408f5c11d89e40982376ae268cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 9 Dec 2023 20:13:39 +0000 Subject: [PATCH] Jsonrpc: better initforms in jsonrpc-connection * lisp/jsonrpc.el (jsonrpc-connection): Better initforms --- lisp/jsonrpc.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el index f7ccc8d2745..67243fd49e3 100644 --- a/lisp/jsonrpc.el +++ b/lisp/jsonrpc.el @@ -51,6 +51,7 @@ (defclass jsonrpc-connection () ((name :accessor jsonrpc-name + :initform "anonymous" :initarg :name :documentation "A name for the connection") (-request-dispatcher @@ -76,6 +77,7 @@ :accessor jsonrpc--events-buffer :documentation "A buffer pretty-printing the JSONRPC events") (-events-buffer-scrollback-size + :initform nil :initarg :events-buffer-scrollback-size :accessor jsonrpc--events-buffer-scrollback-size :documentation "Max size of events buffer. 0 disables, nil means infinite.") -- 2.39.2