aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-06-05 05:44:12 +0000
committerStefan Monnier2008-06-05 05:44:12 +0000
commit8ba31f366fc04228330e55c9ae48f2a6ba73760f (patch)
tree88ff83169a0c5977911825316cba6cdd10529e22
parent6b1f69f1af2b8483b9c59518b40c8e47dc4b9996 (diff)
downloademacs-8ba31f366fc04228330e55c9ae48f2a6ba73760f.tar.gz
emacs-8ba31f366fc04228330e55c9ae48f2a6ba73760f.zip
* keymap.c (Vminibuffer_local_filename_must_match_map):
Rename from Vminibuffer_local_must_match_filename_map. (syms_of_keymap): * minibuf.c (Fcompleting_read): Adjust accordingly. * commands.h: Rename declaration as well. * minibuffer.el (minibuffer-local-must-match-filename-map): Declare obsolete alias for the old name.
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/minibuffer.el5
-rw-r--r--src/ChangeLog8
-rw-r--r--src/commands.h2
-rw-r--r--src/keymap.c10
-rw-r--r--src/minibuf.c2
7 files changed, 25 insertions, 8 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f5211acaff0..8483845b6ec 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -811,6 +811,9 @@ functions and variables (formerly used for Tamil script).
811 811
812* Lisp Changes in Emacs 23.1 812* Lisp Changes in Emacs 23.1
813 813
814** minibuffer-local-must-match-filename-map is now named
815minibuffer-local-filename-must-match-map.
816
814** `all-completions' may now return the base size in the last cdr. 817** `all-completions' may now return the base size in the last cdr.
815Since this means the returned list is not properly nil-terminated, this 818Since this means the returned list is not properly nil-terminated, this
816is an incompatible change and is thus enabled by the new variable 819is an incompatible change and is thus enabled by the new variable
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 59600dd747f..44378452af4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> 12008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * minibuffer.el (minibuffer-local-must-match-filename-map):
4 Declare obsolete alias for the old name.
5
3 * abbrev.el (unexpand-abbrev): Better preserve markers. 6 * abbrev.el (unexpand-abbrev): Better preserve markers.
4 7
52008-06-05 Glenn Morris <rgm@gnu.org> 82008-06-05 Glenn Morris <rgm@gnu.org>
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 510fe4b1721..2582afab3c1 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -906,6 +906,9 @@ specified by COMMON-SUBSTRING."
906 906
907;;; Key bindings. 907;;; Key bindings.
908 908
909(define-obsolete-variable-alias 'minibuffer-local-must-match-filename-map
910 'minibuffer-local-filename-must-match-map "23.1")
911
909(let ((map minibuffer-local-map)) 912(let ((map minibuffer-local-map))
910 (define-key map "\C-g" 'abort-recursive-edit) 913 (define-key map "\C-g" 'abort-recursive-edit)
911 (define-key map "\r" 'exit-minibuffer) 914 (define-key map "\r" 'exit-minibuffer)
@@ -925,7 +928,7 @@ specified by COMMON-SUBSTRING."
925 928
926(let ((map minibuffer-local-filename-completion-map)) 929(let ((map minibuffer-local-filename-completion-map))
927 (define-key map " " nil)) 930 (define-key map " " nil))
928(let ((map minibuffer-local-must-match-filename-map)) 931(let ((map minibuffer-local-filename-must-match-map))
929 (define-key map " " nil)) 932 (define-key map " " nil))
930 933
931(let ((map minibuffer-local-ns-map)) 934(let ((map minibuffer-local-ns-map))
diff --git a/src/ChangeLog b/src/ChangeLog
index 454aa92093f..178e5b38969 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keymap.c (Vminibuffer_local_filename_must_match_map):
4 Rename from Vminibuffer_local_must_match_filename_map.
5 (syms_of_keymap):
6 * minibuf.c (Fcompleting_read): Adjust accordingly.
7 * commands.h: Rename declaration as well.
8
12008-06-05 Kenichi Handa <handa@m17n.org> 92008-06-05 Kenichi Handa <handa@m17n.org>
2 10
3 * xfont.c (xfont_list): Don't set registry to iso8859-1 even if it 11 * xfont.c (xfont_list): Don't set registry to iso8859-1 even if it
diff --git a/src/commands.h b/src/commands.h
index c882757f0c1..ad0615b9717 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -43,7 +43,7 @@ extern Lisp_Object Vminibuffer_local_must_match_map;
43 43
44/* keymap used for minibuffers when doing completion in filenames 44/* keymap used for minibuffers when doing completion in filenames
45 and require a match */ 45 and require a match */
46extern Lisp_Object Vminibuffer_local_must_match_filename_map; 46extern Lisp_Object Vminibuffer_local_filename_must_match_map;
47 47
48/* Last character of last key sequence. */ 48/* Last character of last key sequence. */
49extern Lisp_Object last_command_char; 49extern Lisp_Object last_command_char;
diff --git a/src/keymap.c b/src/keymap.c
index e11c7b97637..7a9b5949151 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -74,7 +74,7 @@ Lisp_Object Vminibuffer_local_filename_completion_map;
74 74
75/* keymap used for minibuffers when doing completion in filenames 75/* keymap used for minibuffers when doing completion in filenames
76 with require-match*/ 76 with require-match*/
77Lisp_Object Vminibuffer_local_must_match_filename_map; 77Lisp_Object Vminibuffer_local_filename_must_match_map;
78 78
79/* keymap used for minibuffers when doing completion and require a match */ 79/* keymap used for minibuffers when doing completion and require a match */
80/* was MinibufLocalMustMatchMap */ 80/* was MinibufLocalMustMatchMap */
@@ -3936,11 +3936,11 @@ don't alter it yourself. */);
3936 Fset_keymap_parent (Vminibuffer_local_must_match_map, 3936 Fset_keymap_parent (Vminibuffer_local_must_match_map,
3937 Vminibuffer_local_completion_map); 3937 Vminibuffer_local_completion_map);
3938 3938
3939 DEFVAR_LISP ("minibuffer-local-must-match-filename-map", 3939 DEFVAR_LISP ("minibuffer-local-filename-must-match-map",
3940 &Vminibuffer_local_must_match_filename_map, 3940 &Vminibuffer_local_filename_must_match_map,
3941 doc: /* Local keymap for minibuffer input with completion for filenames with exact match. */); 3941 doc: /* Local keymap for minibuffer input with completion for filenames with exact match. */);
3942 Vminibuffer_local_must_match_filename_map = Fmake_sparse_keymap (Qnil); 3942 Vminibuffer_local_filename_must_match_map = Fmake_sparse_keymap (Qnil);
3943 Fset_keymap_parent (Vminibuffer_local_must_match_filename_map, 3943 Fset_keymap_parent (Vminibuffer_local_filename_must_match_map,
3944 Vminibuffer_local_must_match_map); 3944 Vminibuffer_local_must_match_map);
3945 3945
3946 DEFVAR_LISP ("minor-mode-map-alist", &Vminor_mode_map_alist, 3946 DEFVAR_LISP ("minor-mode-map-alist", &Vminor_mode_map_alist,
diff --git a/src/minibuf.c b/src/minibuf.c
index 1c1bf0356e1..7c22b6b5b99 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1815,7 +1815,7 @@ Completion ignores case if the ambient value of
1815 : (NILP (Vminibuffer_completing_file_name) 1815 : (NILP (Vminibuffer_completing_file_name)
1816 || EQ (Vminibuffer_completing_file_name, Qlambda) 1816 || EQ (Vminibuffer_completing_file_name, Qlambda)
1817 ? Vminibuffer_local_must_match_map 1817 ? Vminibuffer_local_must_match_map
1818 : Vminibuffer_local_must_match_filename_map), 1818 : Vminibuffer_local_filename_must_match_map),
1819 init, prompt, make_number (pos), 0, 1819 init, prompt, make_number (pos), 0,
1820 histvar, histpos, def, 0, 1820 histvar, histpos, def, 0,
1821 !NILP (inherit_input_method)); 1821 !NILP (inherit_input_method));