diff options
author | Noam Postavsky <npostavs@gmail.com> | 2018-05-24 19:49:11 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-05-25 07:54:30 -0400 |
commit | 2f44d2d5b15008fde44a56ca24f0c3b6b9e63faf (patch) | |
tree | 2ae3b57329f2340ba68e5aac92f50f9d464716f4 /doc | |
parent | 3145d08cae4a203e86af1920a72eb1b8d0f40d73 (diff) | |
download | emacs-2f44d2d5b15008fde44a56ca24f0c3b6b9e63faf.tar.gz |
Note caveat for backward regexp searching in docstring (Bug#31584)
* src/search.c (Fre_search_backward): Emphasize that backwards
searches may give shorter than expected matches.
* doc/lispref/searching.texi (Regexp Search): Add an anchor for
re-search-backward to reference.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/searching.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index fca877117d9..6c1ebb22b53 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi @@ -1102,6 +1102,8 @@ comes back" twice. @end example @end deffn +@c This anchor is referenced by re-search-backward's docstring. +@anchor{re-search-backward} @deffn Command re-search-backward regexp &optional limit noerror count This function searches backward in the current buffer for a string of text that is matched by the regular expression @var{regexp}, leaving |