* lisp/jsonrpc.el (jsonrpc--debug): Use apply on format args list.
This commit is contained in:
parent
097e0ee4a2
commit
9599b5923b
1 changed files with 3 additions and 1 deletions
|
@ -698,7 +698,9 @@ TIMEOUT is nil)."
|
|||
(defun jsonrpc--debug (server format &rest args)
|
||||
"Debug message for SERVER with FORMAT and ARGS."
|
||||
(jsonrpc--log-event
|
||||
server (if (stringp format)`(:message ,(format format args)) format)))
|
||||
server (if (stringp format)
|
||||
`(:message ,(apply #'format format args))
|
||||
format)))
|
||||
|
||||
(defun jsonrpc--warn (format &rest args)
|
||||
"Warning message with FORMAT and ARGS."
|
||||
|
|
Loading…
Add table
Reference in a new issue