From 360f2e91407e3c10f497871ebdc596fa84cbc0ec Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 17 Feb 2004 01:07:22 +0000 Subject: [PATCH] (Text Lines): Don't add -1 in current-line. --- lispref/positions.texi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lispref/positions.texi b/lispref/positions.texi index 1dee0398050..100b55d01dd 100644 --- a/lispref/positions.texi +++ b/lispref/positions.texi @@ -403,8 +403,7 @@ Here is an example of using @code{count-lines}: (defun current-line () "Return the vertical position of point@dots{}" (+ (count-lines (window-start) (point)) - (if (= (current-column) 0) 1 0) - -1)) + (if (= (current-column) 0) 1 0))) @end group @end example @end defun -- 2.39.2