]> git.eshelyaron.com Git - emacs.git/commitdiff
* keymap.c (Vminibuffer_local_filename_must_match_map):
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 5 Jun 2008 05:44:12 +0000 (05:44 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 5 Jun 2008 05:44:12 +0000 (05:44 +0000)
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.

etc/NEWS
lisp/ChangeLog
lisp/minibuffer.el
src/ChangeLog
src/commands.h
src/keymap.c
src/minibuf.c

index f5211acaff00dc4e75e14779c37760396d233443..8483845b6ecb98ea50f397879898e15b73591663 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -811,6 +811,9 @@ functions and variables (formerly used for Tamil script).
 \f
 * Lisp Changes in Emacs 23.1
 
+** minibuffer-local-must-match-filename-map is now named
+minibuffer-local-filename-must-match-map.
+
 ** `all-completions' may now return the base size in the last cdr.
 Since this means the returned list is not properly nil-terminated, this
 is an incompatible change and is thus enabled by the new variable
index 59600dd747f2cb29ae6009931c18fd743ca65461..44378452af446b829ccf10944542c4684b2b2105 100644 (file)
@@ -1,5 +1,8 @@
 2008-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * minibuffer.el (minibuffer-local-must-match-filename-map):
+       Declare obsolete alias for the old name.
+
        * abbrev.el (unexpand-abbrev): Better preserve markers.
 
 2008-06-05  Glenn Morris  <rgm@gnu.org>
index 510fe4b17215ebddaf70aa2a1412c164934df24c..2582afab3c126247e2be0a708a026ff86f9d0504 100644 (file)
@@ -906,6 +906,9 @@ specified by COMMON-SUBSTRING."
 
 ;;; Key bindings.
 
+(define-obsolete-variable-alias 'minibuffer-local-must-match-filename-map
+  'minibuffer-local-filename-must-match-map "23.1")
+
 (let ((map minibuffer-local-map))
   (define-key map "\C-g" 'abort-recursive-edit)
   (define-key map "\r" 'exit-minibuffer)
@@ -925,7 +928,7 @@ specified by COMMON-SUBSTRING."
 
 (let ((map minibuffer-local-filename-completion-map))
   (define-key map " " nil))
-(let ((map minibuffer-local-must-match-filename-map))
+(let ((map minibuffer-local-filename-must-match-map))
   (define-key map " " nil))
 
 (let ((map minibuffer-local-ns-map))
index 454aa92093f91e51a5d1613f0c20bda3e862c2f8..178e5b3896961908ef2310e09568fb5c3632bd7f 100644 (file)
@@ -1,3 +1,11 @@
+2008-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * 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.
+
 2008-06-05  Kenichi Handa  <handa@m17n.org>
 
        * xfont.c (xfont_list): Don't set registry to iso8859-1 even if it
index c882757f0c179f5eb0584f6d12e7d560ae127a77..ad0615b9717a27c9a9b369762dcb3e150758dbc3 100644 (file)
@@ -43,7 +43,7 @@ extern Lisp_Object Vminibuffer_local_must_match_map;
 
 /* keymap used for minibuffers when doing completion in filenames
    and require a match */
-extern Lisp_Object Vminibuffer_local_must_match_filename_map;
+extern Lisp_Object Vminibuffer_local_filename_must_match_map;
 
 /* Last character of last key sequence.  */
 extern Lisp_Object last_command_char;
index e11c7b9763710e689648929ee82d3edffc58c4c4..7a9b59491514a078547aa949ce0fc7d8e71850df 100644 (file)
@@ -74,7 +74,7 @@ Lisp_Object Vminibuffer_local_filename_completion_map;
 
 /* keymap used for minibuffers when doing completion in filenames
    with require-match*/
-Lisp_Object Vminibuffer_local_must_match_filename_map;
+Lisp_Object Vminibuffer_local_filename_must_match_map;
 
 /* keymap used for minibuffers when doing completion and require a match */
 /* was MinibufLocalMustMatchMap */
@@ -3936,11 +3936,11 @@ don't alter it yourself.  */);
   Fset_keymap_parent (Vminibuffer_local_must_match_map,
                      Vminibuffer_local_completion_map);
 
-  DEFVAR_LISP ("minibuffer-local-must-match-filename-map",
-              &Vminibuffer_local_must_match_filename_map,
+  DEFVAR_LISP ("minibuffer-local-filename-must-match-map",
+              &Vminibuffer_local_filename_must_match_map,
               doc: /* Local keymap for minibuffer input with completion for filenames with exact match.  */);
-  Vminibuffer_local_must_match_filename_map = Fmake_sparse_keymap (Qnil);
-  Fset_keymap_parent (Vminibuffer_local_must_match_filename_map,
+  Vminibuffer_local_filename_must_match_map = Fmake_sparse_keymap (Qnil);
+  Fset_keymap_parent (Vminibuffer_local_filename_must_match_map,
                      Vminibuffer_local_must_match_map);
 
   DEFVAR_LISP ("minor-mode-map-alist", &Vminor_mode_map_alist,
index 1c1bf0356e1b3a06ff66eb8488d4b4fe73574b39..7c22b6b5b9951c75b0df7280b48bd9d09f0d41d3 100644 (file)
@@ -1815,7 +1815,7 @@ Completion ignores case if the ambient value of
                      : (NILP (Vminibuffer_completing_file_name)
                         || EQ (Vminibuffer_completing_file_name, Qlambda)
                         ? Vminibuffer_local_must_match_map
-                        : Vminibuffer_local_must_match_filename_map),
+                        : Vminibuffer_local_filename_must_match_map),
                      init, prompt, make_number (pos), 0,
                      histvar, histpos, def, 0,
                      !NILP (inherit_input_method));