]> git.eshelyaron.com Git - emacs.git/commit
Leniently handle invalid positions sent by some servers
authorJoão Távora <joaotavora@gmail.com>
Thu, 27 Jun 2019 16:55:05 +0000 (17:55 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 27 Jun 2019 16:55:33 +0000 (17:55 +0100)
commit8f80ae14559389ae49843efb98bbb4d5ef09cf41
treeb77c3895238c9e06ccf78aea2d3a4ea7703226ee
parent08d5a9dfde8b42407aa7cf81deef588270cb4a10
Leniently handle invalid positions sent by some servers

* eglot.el (eglot--lsp-position-to-point): Leniently squash
invalid character positions to 0.

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