[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 7c552be89da: ; Another doc fix in eglot.el
From: |
Eli Zaretskii |
Subject: |
emacs-29 7c552be89da: ; Another doc fix in eglot.el |
Date: |
Sun, 26 Feb 2023 09:48:43 -0500 (EST) |
branch: emacs-29
commit 7c552be89da02270993f0866035abedb8c44f890
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Another doc fix in eglot.el
* lisp/progmodes/eglot.el (eglot-current-linepos-function):
Another doc fix.
---
lisp/progmodes/eglot.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 3d511126d93..dd84f545ed4 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -1451,12 +1451,13 @@ CONNECT-ARGS are passed as additional arguments to
'eglot-current-column-function 'eglot-current-linepos-function "29.1")
(defvar eglot-current-linepos-function #'eglot-utf-16-linepos
- "Function calculating number of code units from line beginning.
+ "Function calculating position relative to line beginning.
-This is the inverse operation of
-`eglot-move-to-linepos-function' (which see). It is a function of
-no arguments returning the number of code units corresponding to
-the current position of point relative to line beginning.")
+This is the inverse of `eglot-move-to-linepos-function' (which see).
+It is a function of no arguments returning the number of code units
+or bytes or codepoints corresponding to the current position of point,
+relative to line beginning, as expected by the function that is the
+value of `eglot-move-to-linepos-function'.")
(defun eglot-utf-8-linepos ()
"Calculate number of UTF-8 bytes from line beginning."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 7c552be89da: ; Another doc fix in eglot.el,
Eli Zaretskii <=