aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-02-07 01:03:03 +0000
committerKim F. Storm2004-02-07 01:03:03 +0000
commit4372d886634bc730b6ce69f4686e17b98b295016 (patch)
tree714170fc24e1266e40a30add56f49df5e0987d05
parent3faa99ca177e6b31d5d0a9037b3b7cde39ce2e3a (diff)
downloademacs-4372d886634bc730b6ce69f4686e17b98b295016.tar.gz
emacs-4372d886634bc730b6ce69f4686e17b98b295016.zip
Add line-number-at-pos.
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f2d912d2930..51088494f00 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1802,6 +1802,11 @@ configuration files.
1802 1802
1803* Lisp Changes in Emacs 21.4 1803* Lisp Changes in Emacs 21.4
1804 1804
1805+++
1806** New function `line-number-at-pos' returns line number of current
1807line in current buffer, or if optional buffer position is given, line
1808number of corresponding line in current buffer.
1809
1805** The default value of `sentence-end' is now defined using the new 1810** The default value of `sentence-end' is now defined using the new
1806variable `sentence-end-without-space' which contains such characters 1811variable `sentence-end-without-space' which contains such characters
1807that end a sentence without following spaces. 1812that end a sentence without following spaces.