Fix the non-creation of backup files in temporary-file directory on Windows.
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Apr 2013 07:41:09 +0000 (10:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Apr 2013 07:41:09 +0000 (10:41 +0300)
commit33bb237a73a4ba97f21e673dac36b1f8c1299289
treefd1904d5ce25925f8990cb052fc0f43c67766fff
parentcd542620197df6fefe2c2bebca1967ec84e8fa7c
Fix the non-creation of backup files in temporary-file directory on Windows.

 lisp/files.el (normal-backup-enable-predicate): On MS-Windows and
 MS-DOS compare truenames of temporary-file-directory and of the
 file, so that 8+3 aliases (usually found in $TEMP on Windows)
 don't fail comparison by compare-strings.  Also, compare file
 names case-insensitively on MS-Windows and MS-DOS.
lisp/ChangeLog
lisp/files.el