aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 85c15a0de47..53187c2c485 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1839,7 +1839,7 @@ Use `store-match-data' to reinstate the data in this list.")
1839 int i, len; 1839 int i, len;
1840 1840
1841 if (NILP (last_thing_searched)) 1841 if (NILP (last_thing_searched))
1842 error ("match-data called before any match found"); 1842 return Qnil;
1843 1843
1844 data = (Lisp_Object *) alloca ((2 * search_regs.num_regs) 1844 data = (Lisp_Object *) alloca ((2 * search_regs.num_regs)
1845 * sizeof (Lisp_Object)); 1845 * sizeof (Lisp_Object));