completion-ignored-extensions through ENCODE_FILE.
elt = XCAR (tem);
if (!STRINGP (elt))
continue;
+ /* Need to encode ELT, since scmp compares unibyte
+ strings only. */
+ elt = ENCODE_FILE (elt);
elt_len = XSTRING (elt)->size - 1; /* -1 for trailing / */
if (elt_len <= 0)
continue;
{
elt = XCAR (tem);
if (!STRINGP (elt)) continue;
+ /* Need to encode ELT, since scmp compares unibyte
+ strings only. */
+ elt = ENCODE_FILE (elt);
skip = len - XSTRING (elt)->size;
if (skip < 0) continue;