aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-10-17 01:32:41 +0000
committerGlenn Morris2007-10-17 01:32:41 +0000
commit24eb74a313c5d6fade2cc96a33b2bf685dd95130 (patch)
treeaf6a6d340265c5af04267559ee594748e944f32b
parent0af8c48ee0f56ee43bd788b26f96713724810771 (diff)
downloademacs-24eb74a313c5d6fade2cc96a33b2bf685dd95130.tar.gz
emacs-24eb74a313c5d6fade2cc96a33b2bf685dd95130.zip
(Qcompletion_ignore_case): New external Lisp_Object.
(Fread_file_name): Use it rather than intern'ing.
-rw-r--r--src/ChangeLog12
-rw-r--r--src/fileio.c3
2 files changed, 14 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5a4c51c84d8..08fbd81d6fb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12007-10-17 Glenn Morris <rgm@gnu.org>
2
3 * minibuf.c (Qcompletion_ignore_case): New Lisp_Object.
4 (syms_of_minibuf): Add Qcompletion_ignore_case.
5 * dired.c (Qcompletion_ignore_case): Change to external.
6 (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case.
7 * fileio.c (Qcompletion_ignore_case): New external Lisp_Object.
8 (Fread_file_name): Use it rather than intern'ing.
9
10 * coding.c (Qcompletion_ignore_case): New external Lisp_Object.
11 (Fread_coding_system): Ignore case of user input.
12
12007-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 132007-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 14
3 * xdisp.c (handle_display_prop): Ignore display specs after 15 * xdisp.c (handle_display_prop): Ignore display specs after
diff --git a/src/fileio.c b/src/fileio.c
index ac5a4f56794..0f13c6535a0 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -6078,6 +6078,7 @@ then any auto-save counts as "recent". */)
6078 6078
6079/* Reading and completing file names */ 6079/* Reading and completing file names */
6080extern Lisp_Object Ffile_name_completion (), Ffile_name_all_completions (); 6080extern Lisp_Object Ffile_name_completion (), Ffile_name_all_completions ();
6081extern Lisp_Object Qcompletion_ignore_case;
6081 6082
6082/* In the string VAL, change each $ to $$ and return the result. */ 6083/* In the string VAL, change each $ to $$ and return the result. */
6083 6084
@@ -6383,7 +6384,7 @@ and `read-file-name-function'. */)
6383 } 6384 }
6384 6385
6385 count = SPECPDL_INDEX (); 6386 count = SPECPDL_INDEX ();
6386 specbind (intern ("completion-ignore-case"), 6387 specbind (Qcompletion_ignore_case,
6387 read_file_name_completion_ignore_case ? Qt : Qnil); 6388 read_file_name_completion_ignore_case ? Qt : Qnil);
6388 specbind (intern ("minibuffer-completing-file-name"), Qt); 6389 specbind (intern ("minibuffer-completing-file-name"), Qt);
6389 specbind (intern ("read-file-name-predicate"), 6390 specbind (intern ("read-file-name-predicate"),