mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-18 18:05:07 +00:00
(Fmatch_data): If no matching done yet, return Qnil.
This commit is contained in:
parent
019226d02d
commit
c36bcf1b4a
@ -1839,7 +1839,7 @@ Use `store-match-data' to reinstate the data in this list.")
|
||||
int i, len;
|
||||
|
||||
if (NILP (last_thing_searched))
|
||||
error ("match-data called before any match found");
|
||||
return Qnil;
|
||||
|
||||
data = (Lisp_Object *) alloca ((2 * search_regs.num_regs)
|
||||
* sizeof (Lisp_Object));
|
||||
|
Loading…
Reference in New Issue
Block a user