]> git.eshelyaron.com Git - emacs.git/commit
Clarify what happens to match data on failure
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 18 Aug 2015 06:46:38 +0000 (23:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 18 Aug 2015 06:47:46 +0000 (23:47 -0700)
commit7a68ebe0485d049a3fbbfd77d0ba5773e8e6ae87
tree74c44f9cd2bedff09c0b6746078608b1c1be8fd2
parent9a1175cb0a33aeb13601ae8997931a853cb45249
Clarify what happens to match data on failure

Problem reported by Ernesto Alfonso (Bug#21279).
* doc/lispref/searching.texi (Regexp Search, Simple Match Data):
Document more carefully what happens to match data after a failed
search.
* src/search.c (Fmatch_beginning, Fmatch_end): Document that
the return value is undefined if the last search failed.
(Fmatch_data): Simplify doc string line 1.
doc/lispref/searching.texi
src/search.c