]> git.eshelyaron.com Git - emacs.git/commitdiff
(Qcompletion_ignore_case): New external Lisp_Object.
authorGlenn Morris <rgm@gnu.org>
Wed, 17 Oct 2007 01:32:19 +0000 (01:32 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 17 Oct 2007 01:32:19 +0000 (01:32 +0000)
(Fread_file_name): Use it rather than intern'ing.

src/ChangeLog
src/fileio.c

index 6884af958104dc75deac3c227e961436ae6eeabe..48ef2f869ad59915edf58038e7cd8bf3157c9502 100644 (file)
@@ -1,3 +1,15 @@
+2007-10-17  Glenn Morris  <rgm@gnu.org>
+
+       * minibuf.c (Qcompletion_ignore_case): New Lisp_Object.
+       (syms_of_minibuf): Add Qcompletion_ignore_case.
+       * dired.c (Qcompletion_ignore_case): Change to external.
+       (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case.
+       * fileio.c (Qcompletion_ignore_case): New external Lisp_Object.
+       (Fread_file_name): Use it rather than intern'ing.
+
+       * coding.c (Qcompletion_ignore_case): New external Lisp_Object.
+       (Fread_coding_system): Ignore case of user input.
+
 2007-10-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * xdisp.c (handle_display_prop): Ignore display specs after
index 29d12a0b0c3a2e61fb245e2f49652b7b3b74d8b4..b0b9240c5ab8134fb41632874d186b8e0d062a98 100644 (file)
@@ -6163,6 +6163,7 @@ then any auto-save counts as "recent".  */)
 \f
 /* 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 @@ and `read-file-name-function'.  */)
     }
 
   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"),