Mercurial > emacs
diff src/dired.c @ 94435:9b442839cb2e
(file_name_completion): Fix another mixing of encoded
and decoded names.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 28 Apr 2008 18:33:06 +0000 |
parents | 9d03d6298e0f |
children | 41892e1c80a1 |
line wrap: on
line diff
--- a/src/dired.c Mon Apr 28 17:59:38 2008 +0000 +++ b/src/dired.c Mon Apr 28 18:33:06 2008 +0000 @@ -756,7 +756,7 @@ bestmatch = DECODE_FILE (bestmatch); return bestmatch; } - if (matchcount == 1 && bestmatchsize == SCHARS (file)) + if (matchcount == 1 && bestmatchsize == SCHARS (encoded_file)) return Qt; bestmatch = Fsubstring (bestmatch, make_number (0), make_number (bestmatchsize));