# HG changeset patch # User Kim F. Storm # Date 1076115783 0 # Node ID 3509bc91f7c8877cda53a4cd28957109c5032e44 # Parent e1eb498238f9489f96f7fcebb9f697f75459f755 Add line-number-at-pos. diff -r e1eb498238f9 -r 3509bc91f7c8 etc/NEWS --- 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.