From: Felicián Németh Date: Wed, 8 Jan 2020 15:51:09 +0000 (+0100) Subject: Document the changes in column calculation X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~256 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6e0ad2ac68820ef197116ea4149ee60f40797a32;p=emacs.git Document the changes in column calculation * eglot.el (eglot-current-column-function) (eglot-move-to-column-function): Document the change of the default value. * NEWS.md: Log the change here as well. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index cbfb926036a..5e83118554f 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1006,8 +1006,8 @@ This is the inverse operation of `eglot-move-to-column-function' (which see). It is a function of no arguments returning a column number. For buffers managed by fully LSP-compliant servers, this should be set to -`eglot-lsp-abiding-column', and `eglot-current-column' (the default) -for all others.") +`eglot-lsp-abiding-column' (the default), and +`eglot-current-column' for all others.") (defun eglot-lsp-abiding-column () "Calculate current COLUMN as defined by the LSP spec." @@ -1033,8 +1033,8 @@ where X is a multi-byte character, it actually means `b', not `c'. However, many servers don't follow the spec this closely. For buffers managed by fully LSP-compliant servers, this should -be set to `eglot-move-to-lsp-abiding-column', and -`eglot-move-to-column' (the default) for all others.") +be set to `eglot-move-to-lsp-abiding-column' (the default), and +`eglot-move-to-column' for all others.") (defun eglot-move-to-column (column) "Move to COLUMN without closely following the LSP spec."