]> git.eshelyaron.com Git - emacs.git/commit
Don't warn on implementation-specific notifications ()
authorFangrui Song <i@maskray.me>
Fri, 7 Sep 2018 09:00:18 +0000 (02:00 -0700)
committerJoão Távora <joaotavora@gmail.com>
Fri, 7 Sep 2018 09:00:18 +0000 (10:00 +0100)
commitacda0eda5a8599d8a843eb3c9dc214d80593853f
tree7b3d3772d5ca99c5033d1da4d5908a27ceb8114e
parent6499223125ed680ab5721c5aad55561fe4c37121
Don't warn on implementation-specific notifications ()

Only warn when method name doesn't start with '$'. Per the spec:

  "if a server or client receives notifications or requests
  starting with ‘$/’ it is free to ignore them if they are unknown."

* eglot.el (eglot-handle-notification t t): Check method name for $.

GitHub-reference: https://github.com/joaotavora/eglot/issues/93
lisp/progmodes/eglot.el