* lisp/jsonrpc.el (jsonrpc-default-request-timeout): New
defcustom, replaces a defconst.
(jsonrpc): New customization group.
* etc/NEWS: Announce the change. (Bug#74338)
together with related commands used in the "*Macros and Targets*"
buffer. We recommend using an alternative like 'imenu' instead.
+---
+*** 'jsonrpc-default-request-timeout' is now a defcustom.
+
\f
* New Modes and Packages in Emacs 30.1
(define-obsolete-variable-alias 'jrpc-default-request-timeout
'jsonrpc-default-request-timeout "28.1")
-(defconst jsonrpc-default-request-timeout 10
- "Time in seconds before timing out a JSONRPC request.")
+(defgroup jsonrpc nil
+ "JSON-RPC customization."
+ :prefix "jsonrpc-"
+ :group 'comm)
+
+(defcustom jsonrpc-default-request-timeout 10
+ "Time in seconds before timing out a JSON-RPC request without response."
+ :version "30.1"
+ :type 'number
+ :safe 'numberp
+ :group 'jsonrpc)
\f
;;; Specific to `jsonrpc-process-connection'