aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2003-05-17 12:47:55 +0000
committerRichard M. Stallman2003-05-17 12:47:55 +0000
commitfe72189a11425cd9fe750fc12dfb48a6619f3955 (patch)
tree4c3a5357e644c45e99d4df5e97159d3e6786ab6b /src
parent6117a9cde128e73ea4f85406d369ed3f37e3b43e (diff)
downloademacs-fe72189a11425cd9fe750fc12dfb48a6619f3955.tar.gz
emacs-fe72189a11425cd9fe750fc12dfb48a6619f3955.zip
(Fset_keymap_parent, map_keymap, Fcopy_keymap)
(Faccessible_keymaps): Pass new arg to map_char_table.
Diffstat (limited to 'src')
-rw-r--r--src/keymap.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 32c668ce7a0..64f849f7845 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -412,7 +412,8 @@ PARENT should be nil or another keymap. */)
412 { 412 {
413 Lisp_Object indices[3]; 413 Lisp_Object indices[3];
414 414
415 map_char_table (fix_submap_inheritance, Qnil, XCAR (list), 415 map_char_table (fix_submap_inheritance, Qnil,
416 XCAR (list), XCAR (list),
416 keymap, 0, indices); 417 keymap, 0, indices);
417 } 418 }
418 } 419 }
@@ -705,7 +706,7 @@ map_keymap (map, fun, args, data, autoload)
705 else if (CHAR_TABLE_P (binding)) 706 else if (CHAR_TABLE_P (binding))
706 { 707 {
707 Lisp_Object indices[3]; 708 Lisp_Object indices[3];
708 map_char_table (map_keymap_char_table_item, Qnil, binding, 709 map_char_table (map_keymap_char_table_item, Qnil, binding, binding,
709 Fcons (make_save_value (fun, 0), 710 Fcons (make_save_value (fun, 0),
710 Fcons (make_save_value (data, 0), 711 Fcons (make_save_value (data, 0),
711 args)), 712 args)),
@@ -1040,7 +1041,7 @@ is not copied. */)
1040 { 1041 {
1041 Lisp_Object indices[3]; 1042 Lisp_Object indices[3];
1042 elt = Fcopy_sequence (elt); 1043 elt = Fcopy_sequence (elt);
1043 map_char_table (copy_keymap_1, Qnil, elt, elt, 0, indices); 1044 map_char_table (copy_keymap_1, Qnil, elt, elt, elt, 0, indices);
1044 } 1045 }
1045 else if (VECTORP (elt)) 1046 else if (VECTORP (elt))
1046 { 1047 {
@@ -1914,7 +1915,7 @@ then the value includes only maps for prefixes that start with PREFIX. */)
1914 { 1915 {
1915 Lisp_Object indices[3]; 1916 Lisp_Object indices[3];
1916 1917
1917 map_char_table (accessible_keymaps_char_table, Qnil, 1918 map_char_table (accessible_keymaps_char_table, Qnil, elt,
1918 elt, Fcons (Fcons (maps, make_number (is_metized)), 1919 elt, Fcons (Fcons (maps, make_number (is_metized)),
1919 Fcons (tail, thisseq)), 1920 Fcons (tail, thisseq)),
1920 0, indices); 1921 0, indices);
@@ -2431,7 +2432,7 @@ where_is_internal (definition, keymaps, firstonly, noindirect, no_remap)
2431 Fcons (Fcons (this, last), 2432 Fcons (Fcons (this, last),
2432 Fcons (make_number (nomenus), 2433 Fcons (make_number (nomenus),
2433 make_number (last_is_meta)))); 2434 make_number (last_is_meta))));
2434 map_char_table (where_is_internal_2, Qnil, elt, args, 2435 map_char_table (where_is_internal_2, Qnil, elt, elt, args,
2435 0, indices); 2436 0, indices);
2436 sequences = XCDR (XCAR (args)); 2437 sequences = XCDR (XCAR (args));
2437 } 2438 }