# HG changeset patch # User Glenn Morris # Date 1192584700 0 # Node ID 29f6806df35183f05cb34a2eb69be0c964c4b692 # Parent 78939f1449b7ceab3637739e59bca5659099da4b (Qcompletion_ignore_case): New external Lisp_Object. (Fread_file_name): Use it rather than intern'ing. diff -r 78939f1449b7 -r 29f6806df351 src/fileio.c --- a/src/fileio.c Wed Oct 17 01:30:59 2007 +0000 +++ b/src/fileio.c Wed Oct 17 01:31:40 2007 +0000 @@ -6078,6 +6078,7 @@ /* Reading and completing file names */ extern Lisp_Object Ffile_name_completion (), Ffile_name_all_completions (); +extern Lisp_Object Qcompletion_ignore_case; /* In the string VAL, change each $ to $$ and return the result. */ @@ -6383,7 +6384,7 @@ } count = SPECPDL_INDEX (); - specbind (intern ("completion-ignore-case"), + specbind (Qcompletion_ignore_case, read_file_name_completion_ignore_case ? Qt : Qnil); specbind (intern ("minibuffer-completing-file-name"), Qt); specbind (intern ("read-file-name-predicate"),