]> git.eshelyaron.com Git - emacs.git/commit
Fix eglot-move-to-lsp-abiding-column ()
authorJoão Távora <joaotavora@gmail.com>
Sun, 19 Jan 2020 10:02:55 +0000 (11:02 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 16 Apr 2020 09:07:54 +0000 (10:07 +0100)
commitc93c90842a96f8695ec81f1e34ff4ca951737f4d
tree1d1adb775cf2c7a154d6a9ba664839d1dfbd263c
parent6b59dcf652301a98d96e539509fad26a873db6f8
Fix eglot-move-to-lsp-abiding-column ()

Ensure conformance with the this part of the specification: "if the
character value is greater than the line length it defaults back to
the line length."

* eglot.el: (eglot-move-to-lsp-abiding-column): Don't move beyond
line-end.

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