mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
* 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)
|
(defun jsonrpc--debug (server format &rest args)
|
||||||
"Debug message for SERVER with FORMAT and ARGS."
|
"Debug message for SERVER with FORMAT and ARGS."
|
||||||
(jsonrpc--log-event
|
(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)
|
(defun jsonrpc--warn (format &rest args)
|
||||||
"Warning message with FORMAT and ARGS."
|
"Warning message with FORMAT and ARGS."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue