aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2018-05-25 09:45:34 -0700
committerGlenn Morris2018-05-25 09:45:34 -0700
commit48d6212655c347ded7f4ec398467e05c6bce1dc7 (patch)
tree1b44567da3f1387fc4b09d3ec49bcf9dac0d0046 /src
parent9fe9f21515ccb4562269cc6ce8dfcebc4cd11384 (diff)
parent07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea (diff)
downloademacs-48d6212655c347ded7f4ec398467e05c6bce1dc7.tar.gz
emacs-48d6212655c347ded7f4ec398467e05c6bce1dc7.zip
Merge from origin/emacs-26
07f8f9b (origin/emacs-26) ; * lisp/ldefs-boot.el: Update. 5cec2b0 * etc/HISTORY: Update for Emacs 26.1 release. 7c474e1 * etc/AUTHORS: Update. ddc7bea ; * ChangeLog.3: Update. 3557460 ; * admin/authors.el: Update. 2f44d2d Note caveat for backward regexp searching in docstring (Bug#3... 3145d08 Update backtrace in Emacs Lisp Intro 43a9c26 Move window-point in bibtex-search-entry 4bb2741 More fixes of Intro to Emacs Lisp c57c226 ; * doc/emacs/misc.texi (FFAP): Fix a typo. (Bug#31580) 0a51113 Add a footnote to Emacs Lisp Intro 5eabe4a ; * doc/emacs/msdos.texi (ls in Lisp): Fix a typo. (Bug#31575) d5e0ceb * lisp/help.el (with-help-window): Doc fix. (Bug#31574) e7952bd Fix some cross-references in emacs-lisp-intro.texi a897959 Minor copyedits in Emacs manual in macos.texi Conflicts: lisp/ldefs-boot.el
Diffstat (limited to 'src')
-rw-r--r--src/search.c5
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,
2233This function is almost identical to `re-search-forward', except that 2233This function is almost identical to `re-search-forward', except that
2234by default it searches backward instead of forward, and the sign of 2234by default it searches backward instead of forward, and the sign of
2235COUNT also indicates exactly the opposite searching direction. 2235COUNT also indicates exactly the opposite searching direction.
2236See `re-search-forward' for details.
2236 2237
2237See `re-search-forward' for details. */) 2238Note that searching backwards may give a shorter match than expected,
2239because REGEXP is still matched in the forward direction. See Info
2240anchor `(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);