From: Kim F. Storm Date: Sat, 7 Feb 2004 01:03:03 +0000 (+0000) Subject: Add line-number-at-pos. X-Git-Tag: ttn-vms-21-2-B4~7724 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4372d886634bc730b6ce69f4686e17b98b295016;p=emacs.git Add line-number-at-pos. --- diff --git a/etc/NEWS b/etc/NEWS index f2d912d2930..51088494f00 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1802,6 +1802,11 @@ configuration files. * 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.