diff src/fileio.c @ 5212:4f98237e23fc

Automated merge with ssh://sperber-guest@hg.debian.org//hg/xemacs/xemacs
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 16 May 2010 12:49:49 +0100
parents cdca98f2d36f
children c096d8051f89 308d34e9f07d
line wrap: on
line diff
--- a/src/fileio.c	Fri May 07 14:35:00 2010 +0100
+++ b/src/fileio.c	Sun May 16 12:49:49 2010 +0100
@@ -108,6 +108,8 @@
 
 Lisp_Object Vdirectory_sep_char;
 
+int default_file_system_ignore_case;
+
 #ifdef HAVE_FSYNC
 /* Nonzero means skip the call to fsync in Fwrite-region.  */
 int write_region_inhibit_fsync;
@@ -4560,6 +4562,16 @@
 what the normal separator is.
 */ );
   Vdirectory_sep_char = make_char (DEFAULT_DIRECTORY_SEP);
+
+  DEFVAR_CONST_BOOL ("default-file-system-ignore-case", &default_file_system_ignore_case /*
+What `file-system-ignore-case-p' returns by default.
+This is in the case that nothing in `file-system-case-alist' matches.
+*/ );
+#ifdef DEFAULT_FILE_SYSTEM_IGNORE_CASE
+  default_file_system_ignore_case = DEFAULT_FILE_SYSTEM_IGNORE_CASE;
+#else
+  default_file_system_ignore_case = 0;
+#endif
 }
 
 void