]> git.eshelyaron.com Git - emacs.git/commitdiff
* eglot.el (eglot-handle-notification): silence byte-compiler.
authorStefan Kangas <stefankangas@gmail.com>
Sat, 22 Jan 2022 03:40:12 +0000 (04:40 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 22 Jan 2022 03:59:45 +0000 (04:59 +0100)
lisp/progmodes/eglot.el

index f109fc930ffba21b8462ddfaf8e5710ec3be69b7..957ddde68c21851e9c29903b9c01ad5ca885832d 100644 (file)
@@ -1828,8 +1828,8 @@ COMMAND is a symbol naming the command."
   "Handle notification telemetry/event.") ;; noop, use events buffer
 
 (cl-defmethod eglot-handle-notification
-  (server (_method (eql textDocument/publishDiagnostics)) &key uri diagnostics
-          &allow-other-keys) ; FIXME: doesn't respect `eglot-strict-mode'
+  (_server (_method (eql textDocument/publishDiagnostics)) &key uri diagnostics
+           &allow-other-keys) ; FIXME: doesn't respect `eglot-strict-mode'
   "Handle notification publishDiagnostics."
   (cl-flet ((eglot--diag-type (sev)
               (cond ((null sev) 'eglot-error)