]> git.eshelyaron.com Git - emacs.git/commit
Handle outrageously large and buggy line numbers
authorJoão Távora <joaotavora@gmail.com>
Mon, 2 Jul 2018 22:09:27 +0000 (23:09 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 2 Jul 2018 22:09:27 +0000 (23:09 +0100)
commitd599dfd79f17eea5e4a9708dd29336149ac386ac
tree795ada7c9ef2fc78bce0b6b9ef90aa8c9ad83b76
parent1a58481719f63c3e77832f7c8474ce745a05ad4c
Handle outrageously large and buggy line numbers

* eglot.el (eglot--lsp-position-to-point): Truncate line number to
most-positive-fixnum.

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