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)
commita9b521aeb26f40e48c1ed30420da8c098816e80c
tree6594cc9c0e0c8b7c9d808296b4e8aa1376bb9a3d
parente6ad3aa1dfcdcfc51694eddb834a40280bae1ff9
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