diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 842e9309a2e..6d010466dcd 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -2233,8 +2233,11 @@ DEFUN ("re-search-backward", Fre_search_backward, Sre_search_backward, 1, 4, | |||
| 2233 | This function is almost identical to `re-search-forward', except that | 2233 | This function is almost identical to `re-search-forward', except that |
| 2234 | by default it searches backward instead of forward, and the sign of | 2234 | by default it searches backward instead of forward, and the sign of |
| 2235 | COUNT also indicates exactly the opposite searching direction. | 2235 | COUNT also indicates exactly the opposite searching direction. |
| 2236 | See `re-search-forward' for details. | ||
| 2236 | 2237 | ||
| 2237 | See `re-search-forward' for details. */) | 2238 | Note that searching backwards may give a shorter match than expected, |
| 2239 | because REGEXP is still matched in the forward direction. See Info | ||
| 2240 | anchor `(elisp) re-search-backward' for details. */) | ||
| 2238 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) | 2241 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) |
| 2239 | { | 2242 | { |
| 2240 | return search_command (regexp, bound, noerror, count, -1, 1, 0); | 2243 | return search_command (regexp, bound, noerror, count, -1, 1, 0); |