aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2025-05-04 08:27:13 +0100
committerJoão Távora2025-05-04 08:27:43 +0100
commit660ebdddf6583e447b50f6574dca4ca8ff42ef60 (patch)
tree1d03da05f38ae192cb41ebbe37f150873394107c
parent6ccfc8977821d02e8d589c801e6cad2e74ab699b (diff)
downloademacs-660ebdddf6583e447b50f6574dca4ca8ff42ef60.tar.gz
emacs-660ebdddf6583e447b50f6574dca4ca8ff42ef60.zip
Eglot: allow other keys in window/logMessage (bug#77948)
* lisp/progmodes/eglot.el (eglot-handle-notification window/logMessage): Fix.
-rw-r--r--lisp/progmodes/eglot.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index d796c9fc802..474245352d6 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -2630,7 +2630,7 @@ return it back to the server. :null is returned if the list was empty."
2630 (if (and actions label) (cdr (assoc label actions)) :null))) 2630 (if (and actions label) (cdr (assoc label actions)) :null)))
2631 2631
2632(cl-defmethod eglot-handle-notification 2632(cl-defmethod eglot-handle-notification
2633 (_server (_method (eql window/logMessage)) &key _type _message) 2633 (_server (_method (eql window/logMessage)) &key _type _message &allow-other-keys)
2634 "Handle notification window/logMessage.") ;; noop, use events buffer 2634 "Handle notification window/logMessage.") ;; noop, use events buffer
2635 2635
2636(cl-defmethod eglot-handle-notification 2636(cl-defmethod eglot-handle-notification