diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-02-17 01:07:22 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-02-17 01:07:22 +0000 |
commit | 360f2e91407e3c10f497871ebdc596fa84cbc0ec (patch) | |
tree | 4dfc6e8579c6072e037b435d7882254d5242fad6 /lispref | |
parent | c2d8228a0abb0dcf33a838de158f6b26ca795320 (diff) | |
download | emacs-360f2e91407e3c10f497871ebdc596fa84cbc0ec.tar.gz |
(Text Lines): Don't add -1 in current-line.
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/positions.texi | 3 |
1 files changed, 1 insertions, 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 |