From 5556a341ed02cccf20742dce32d65b5e9a0a1e92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 23 Jun 2018 17:43:23 +0100 Subject: [PATCH] Fix some rather silly bugs in some interactive specs * eglot.el (eglot-events-buffer, eglot-stderr-buffer) (eglot-forget-pending-continuations): Fix interactive specs. --- lisp/progmodes/eglot.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 6d0541a1e69..430a0164611 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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'.") -- 2.39.2