From: Eli Zaretskii Date: Sat, 22 Jul 2000 10:17:50 +0000 (+0000) Subject: (syms_of_coding): Doc fix for inhibit-iso-escape-detection. X-Git-Tag: emacs-pretest-21.0.90~2685 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc77278f5343b5abd712251d18832d7ee12bfac7;p=emacs.git (syms_of_coding): Doc fix for inhibit-iso-escape-detection. --- 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",