Mercurial > emacs
comparison lispref/positions.texi @ 83038:30ccd595ccb0
Merged in changes from CVS HEAD
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-98
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-99
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-100
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-101
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-102
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-78
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Wed, 18 Feb 2004 17:10:32 +0000 |
parents | 0bd7928bf5ac |
children | 5745bf089073 |
comparison
equal
deleted
inserted
replaced
83037:03a73693678e | 83038:30ccd595ccb0 |
---|---|
401 @example | 401 @example |
402 @group | 402 @group |
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 |
411 | 410 |
412 @defun line-number-at-pos &optional pos | 411 @defun line-number-at-pos &optional pos |