From b03cf2115b4f69903be5b653884c4d60dbf812f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Tue, 5 Jun 2018 17:28:03 +0100 Subject: [PATCH] Shoosh compiler * eglot.el (eglot-server-ready-p): Use cl-defmethod --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 66ba03a6bd3..950cf6ada89 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1153,7 +1153,7 @@ THINGS are either registrations or unregisterations." (defvar-local eglot--recent-changes nil "Recent buffer changes as collected by `eglot--before-change'.") -(defmethod eglot-server-ready-p (_s _what) +(cl-defmethod eglot-server-ready-p (_s _what) "Normally ready if no outstanding changes." (not eglot--recent-changes)) (defvar-local eglot--change-idle-timer nil "Idle timer for didChange signals.") -- 2.39.2