From: João Távora Date: Sat, 23 Jun 2018 16:43:23 +0000 (+0100) Subject: Fix some rather silly bugs in some interactive specs X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~487 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5556a341ed02cccf20742dce32d65b5e9a0a1e92;p=emacs.git Fix some rather silly bugs in some interactive specs * eglot.el (eglot-events-buffer, eglot-stderr-buffer) (eglot-forget-pending-continuations): Fix interactive specs. --- 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'.")