summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-03-26 23:46:42 -0700
committerGlenn Morris <rgm@gnu.org>2012-03-26 23:46:42 -0700
commit4fb9a543142d6cdd7760e7bfcad186017fa57ead (patch)
tree8f81fdb1144372447e55e3d144bab15e31404481 /src/search.c
parentb4fa35fa9c8468dc1a26c54f5e84e64301f7e1d8 (diff)
downloademacs-4fb9a543142d6cdd7760e7bfcad186017fa57ead.tar.gz
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/search.c')
-rw-r--r--src/search.c9
1 files changed, 5 insertions, 4 deletions
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 @@
/* String search routines for GNU Emacs.
- Copyright (C) 1985-1987, 1993-1994, 1997-1999, 2001-2012
- Free Software Foundation, Inc.
+
+Copyright (C) 1985-1987, 1993-1994, 1997-1999, 2001-2012
+ Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -2257,7 +2258,7 @@ DEFUN ("word-search-backward-lax", Fword_search_backward_lax, Sword_search_backw
Set point to the beginning of the occurrence found, and return point.
Unlike `word-search-backward', the end of STRING need not match a word
-boundary unless it ends in whitespace.
+boundary, unless STRING ends in whitespace.
An optional second argument bounds the search; it is a buffer position.
The match found must not extend before that position.
@@ -2279,7 +2280,7 @@ DEFUN ("word-search-forward-lax", Fword_search_forward_lax, Sword_search_forward
Set point to the end of the occurrence found, and return point.
Unlike `word-search-forward', the end of STRING need not match a word
-boundary unless it ends in whitespace.
+boundary, unless STRING ends in whitespace.
An optional second argument bounds the search; it is a buffer position.
The match found must not extend after that position.