aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2012-03-26 23:46:42 -0700
committerGlenn Morris2012-03-26 23:46:42 -0700
commit4fb9a543142d6cdd7760e7bfcad186017fa57ead (patch)
tree8f81fdb1144372447e55e3d144bab15e31404481 /src
parentb4fa35fa9c8468dc1a26c54f5e84e64301f7e1d8 (diff)
downloademacs-4fb9a543142d6cdd7760e7bfcad186017fa57ead.tar.gz
emacs-4fb9a543142d6cdd7760e7bfcad186017fa57ead.zip
Small doc and elisp manual fixes related to searching
* doc/lispref/searching.texi (String Search): Add xref to Emacs manual. Copyedits. Mention the function word-search-regexp. (Searching and Case): Add xref to Emacs manual. Copyedits. * src/search.c (Fword_search_backward_lax, Fword_search_forward_lax): Doc fixes.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/search.c9
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 81448982563..381d2ad631c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-03-27 Glenn Morris <rgm@gnu.org>
2
3 * search.c (Fword_search_backward_lax, Fword_search_forward_lax):
4 Doc fixes.
5
12012-03-26 Kenichi Handa <handa@m17n.org> 62012-03-26 Kenichi Handa <handa@m17n.org>
2 7
3 * dispextern.h (struct glyph): Fix previous change. Change the 8 * dispextern.h (struct glyph): Fix previous change. Change the
diff --git a/src/search.c b/src/search.c
index 55a6d893479..1f3ccc25dc8 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1,6 +1,7 @@
1/* String search routines for GNU Emacs. 1/* String search routines for GNU Emacs.
2 Copyright (C) 1985-1987, 1993-1994, 1997-1999, 2001-2012 2
3 Free Software Foundation, Inc. 3Copyright (C) 1985-1987, 1993-1994, 1997-1999, 2001-2012
4 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
@@ -2257,7 +2258,7 @@ DEFUN ("word-search-backward-lax", Fword_search_backward_lax, Sword_search_backw
2257Set point to the beginning of the occurrence found, and return point. 2258Set point to the beginning of the occurrence found, and return point.
2258 2259
2259Unlike `word-search-backward', the end of STRING need not match a word 2260Unlike `word-search-backward', the end of STRING need not match a word
2260boundary unless it ends in whitespace. 2261boundary, unless STRING ends in whitespace.
2261 2262
2262An optional second argument bounds the search; it is a buffer position. 2263An optional second argument bounds the search; it is a buffer position.
2263The match found must not extend before that position. 2264The match found must not extend before that position.
@@ -2279,7 +2280,7 @@ DEFUN ("word-search-forward-lax", Fword_search_forward_lax, Sword_search_forward
2279Set point to the end of the occurrence found, and return point. 2280Set point to the end of the occurrence found, and return point.
2280 2281
2281Unlike `word-search-forward', the end of STRING need not match a word 2282Unlike `word-search-forward', the end of STRING need not match a word
2282boundary unless it ends in whitespace. 2283boundary, unless STRING ends in whitespace.
2283 2284
2284An optional second argument bounds the search; it is a buffer position. 2285An optional second argument bounds the search; it is a buffer position.
2285The match found must not extend after that position. 2286The match found must not extend after that position.