]> git.eshelyaron.com Git - emacs.git/commit
Change the default of eglot-move-to-column-function
authorFelicián Németh <felician.nemeth@gmail.com>
Tue, 10 Sep 2019 13:31:16 +0000 (15:31 +0200)
committerFelician Nemeth <Felicián Németh>
Tue, 10 Sep 2019 13:47:00 +0000 (15:47 +0200)
commite62b6395ee5284825abccb3bde4255ed894e0c7a
tree37dad15c14479df6baaf226a51958e47f6d137f3
parent4a1d60dd6d6340b215d3f2b9376619cf92e8a2d8
Change the default of eglot-move-to-column-function

Previous default (move-to-column) works on visual columns, the LSP
specification and the new default (eglot-move-to-column) use "real"
columns.  Fixes https://github.com/joaotavora/eglot/issues/293 and https://github.com/joaotavora/eglot/issues/297.

* eglot.el (eglot-move-to-column): New function.
(eglot-move-to-column-function): Use it as default.
lisp/progmodes/eglot.el