Improve documentation of search functions
commit069fc05bd5fabdd5971e2c5230a8586248fb7f38
authorStephen Berman <stephen.berman@gmx.net>
Tue, 12 Jul 2016 20:11:22 +0000 (12 22:11 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Tue, 12 Jul 2016 20:11:22 +0000 (12 22:11 +0200)
treed5481fa5874fa9c2a789e62cafefb72d4bef253d
parent0a0144a2e15a00b5c3272ad95e62d1d489b453c4
Improve documentation of search functions

Make the documentation of the search functions more accurate,
complete, and uniform; in particular, extend the description of
the effect when the 'count' parameter is a negative number to all
of these functions.

* src/search.c (Fsearch_backward, Fsearch_forward)
(Fre_search_backward, Fre_search_forward)
(Fposix_search_backward, Fposix_search_forward):
* lisp/isearch.el (word-search-backward, word-search-forward)
(word-search-backward-lax, word-search-forward-lax): Improve doc
strings as described above.

* doc/lispref/searching.texi (String Search, Regexp Search)
(POSIX Regexps): Use 'count' instead of 'repeat' as the name of
the fourth parameter of the *-search-{forward,backward} functions
and improve documentation as described above.
doc/lispref/searching.texi
lisp/isearch.el
src/search.c