[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 65543b5: Add package prefix to jsonrpc defconst
From: |
Stefan Kangas |
Subject: |
master 65543b5: Add package prefix to jsonrpc defconst |
Date: |
Tue, 25 Aug 2020 18:43:10 -0400 (EDT) |
branch: master
commit 65543b5a879315031d275c7a9a9eb2e26452eb10
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Add package prefix to jsonrpc defconst
* lisp/jsonrpc.el (jsonrpc-default-request-timeout): Rename from
'jrpc-default-request-timeout'.
(jrpc-default-request-timeout): Make into obsolete variable alias
for 'jsonrpc-default-request-timeout'. (Bug#40054)
---
lisp/jsonrpc.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el
index ff8f250..2d50df7 100644
--- a/lisp/jsonrpc.el
+++ b/lisp/jsonrpc.el
@@ -329,7 +329,10 @@ ignored."
:method method
:params params))
-(defconst jrpc-default-request-timeout 10
+(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.")
@@ -617,7 +620,7 @@ With optional CLEANUP, kill any associated buffers."
params
&rest args
&key success-fn error-fn timeout-fn
- (timeout jrpc-default-request-timeout)
+ (timeout jsonrpc-default-request-timeout)
(deferred nil))
"Does actual work for `jsonrpc-async-request'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 65543b5: Add package prefix to jsonrpc defconst,
Stefan Kangas <=