From bc77278f5343b5abd712251d18832d7ee12bfac7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 22 Jul 2000 10:17:50 +0000 Subject: [PATCH] (syms_of_coding): Doc fix for inhibit-iso-escape-detection. --- src/fileio.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/fileio.c b/src/fileio.c index e2453a5fb26..54b719b4c6c 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2546,6 +2546,12 @@ This is what happens in interactive use with M-x.") encoded_file = ENCODE_FILE (file); encoded_newname = ENCODE_FILE (newname); +#ifdef DOS_NT + /* If the file names are identical but for the case, don't ask for + confirmation: they simply want to change the letter-case of the + file name. */ + if (NILP (Fstring_equal (Fdowncase (file), Fdowncase (newname)))) +#endif if (NILP (ok_if_already_exists) || INTEGERP (ok_if_already_exists)) barf_or_query_if_file_exists (encoded_newname, "rename to it", -- 2.39.2