]> git.eshelyaron.com Git - emacs.git/commitdiff
Eglot: allow other keys in window/logMessage (bug#77948)
authorJoão Távora <joaotavora@gmail.com>
Sun, 4 May 2025 07:27:13 +0000 (08:27 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 08:49:36 +0000 (10:49 +0200)
* lisp/progmodes/eglot.el (eglot-handle-notification window/logMessage): Fix.

(cherry picked from commit 660ebdddf6583e447b50f6574dca4ca8ff42ef60)

lisp/progmodes/eglot.el

index 6f3256977aa637fea4ed8ca9f654a3e0eb15eac4..6f4a6e591f646805921d4e382a7b02108159022e 100644 (file)
@@ -2599,7 +2599,7 @@ return it back to the server.  :null is returned if the list was empty."
     (if (and actions label) (cdr (assoc label actions)) :null)))
 
 (cl-defmethod eglot-handle-notification
-  (_server (_method (eql window/logMessage)) &key _type _message)
+  (_server (_method (eql window/logMessage)) &key _type _message &allow-other-keys)
   "Handle notification window/logMessage.") ;; noop, use events buffer
 
 (cl-defmethod eglot-handle-notification