changeset 53842:3509bc91f7c8

Add line-number-at-pos.
author Kim F. Storm <storm@cua.dk>
date Sat, 07 Feb 2004 01:03:03 +0000
parents e1eb498238f9
children 86085872de07
files etc/NEWS
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sat Feb 07 01:01:16 2004 +0000
+++ b/etc/NEWS	Sat Feb 07 01:03:03 2004 +0000
@@ -1802,6 +1802,11 @@
 
 * Lisp Changes in Emacs 21.4
 
++++
+** New function `line-number-at-pos' returns line number of current
+line in current buffer, or if optional buffer position is given, line
+number of corresponding line in current buffer.
+
 ** The default value of `sentence-end' is now defined using the new
 variable `sentence-end-without-space' which contains such characters
 that end a sentence without following spaces.