Fstring_match, not elt, which is alays nil here.
+2001-07-12 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * dired.c (file_name_completion): Pass dp->d_name to
+ Fstring_match, not elt, which is always nil here.
+
2001-07-12 Gerd Moellmann <gerd@gnu.org>
* xselect.c (x_decline_selection_request): Handle errors
for (regexps = Vcompletion_regexp_list; CONSP (regexps);
regexps = XCDR (regexps))
{
- tem = Fstring_match (XCAR (regexps), elt, zero);
+ tem = Fstring_match (XCAR (regexps),
+ make_string (dp->d_name, len), zero);
if (NILP (tem))
break;
}