]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix some rather silly bugs in some interactive specs
authorJoão Távora <joaotavora@gmail.com>
Sat, 23 Jun 2018 16:43:23 +0000 (17:43 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 23 Jun 2018 17:13:29 +0000 (18:13 +0100)
* eglot.el (eglot-events-buffer, eglot-stderr-buffer)
(eglot-forget-pending-continuations): Fix interactive specs.

lisp/progmodes/eglot.el

index 6d0541a1e69a72e44c5ade33c0188e9cee1bd5d5..430a01646119043c557ffb013e6bcfb76e807dbc 100644 (file)
@@ -430,17 +430,17 @@ INTERACTIVE is t if called interactively."
 
 (defun eglot-events-buffer (server)
   "Display events buffer for SERVER."
-  (interactive (eglot--current-server-or-lose))
+  (interactive (list (eglot--current-server-or-lose)))
   (display-buffer (jsonrpc-events-buffer server)))
 
 (defun eglot-stderr-buffer (server)
   "Display stderr buffer for SERVER."
-  (interactive (eglot--current-server-or-lose))
+  (interactive (list (eglot--current-server-or-lose)))
   (display-buffer (jsonrpc-stderr-buffer server)))
 
 (defun eglot-forget-pending-continuations (server)
   "Forget pending requests for SERVER."
-  (interactive (eglot--current-server-or-lose))
+  (interactive (list (eglot--current-server-or-lose)))
   (jsonrpc-forget-pending-continuations server))
 
 (defvar eglot-connect-hook nil "Hook run after connecting in `eglot--connect'.")