Mercurial > emacs
changeset 85335:352168713264
(Qcompletion_ignore_case): New external Lisp_Object.
(Fread_file_name): Use it rather than intern'ing.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 17 Oct 2007 01:31:58 +0000 |
parents | cbec109bce8d |
children | 72683537bada |
files | src/fileio.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c Wed Oct 17 01:31:14 2007 +0000 +++ b/src/fileio.c Wed Oct 17 01:31:58 2007 +0000 @@ -6163,6 +6163,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. */ @@ -6468,7 +6469,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"),