Mercurial > emacs
changeset 15667:9531c03134b6
(Fmatch_data): If no matching done yet, return Qnil.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sun, 14 Jul 1996 00:06:09 +0000 |
parents | 2bf083a9ad6a |
children | 194145c1a2c0 |
files | src/search.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Sun Jul 14 00:03:45 1996 +0000 +++ b/src/search.c Sun Jul 14 00:06:09 1996 +0000 @@ -1839,7 +1839,7 @@ 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));