Mercurial > emacs
diff lispref/positions.texi @ 54038:0bd7928bf5ac
(Text Lines): Don't add -1 in current-line.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 17 Feb 2004 01:07:22 +0000 |
parents | 86085872de07 |
children | 5745bf089073 |
line wrap: on
line diff
--- a/lispref/positions.texi Tue Feb 17 01:06:10 2004 +0000 +++ b/lispref/positions.texi Tue Feb 17 01:07:22 2004 +0000 @@ -403,8 +403,7 @@ (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