aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/positions.texi3
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}:
403(defun current-line () 403(defun current-line ()
404 "Return the vertical position of point@dots{}" 404 "Return the vertical position of point@dots{}"
405 (+ (count-lines (window-start) (point)) 405 (+ (count-lines (window-start) (point))
406 (if (= (current-column) 0) 1 0) 406 (if (= (current-column) 0) 1 0)))
407 -1))
408@end group 407@end group
409@end example 408@end example
410@end defun 409@end defun