From: Richard M. Stallman Date: Tue, 17 Feb 2004 01:07:22 +0000 (+0000) Subject: (Text Lines): Don't add -1 in current-line. X-Git-Tag: ttn-vms-21-2-B4~7555 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=360f2e91407e3c10f497871ebdc596fa84cbc0ec;p=emacs.git (Text Lines): Don't add -1 in current-line. --- 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