diff options
| author | Paul Eggert | 2011-04-15 00:48:51 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-15 00:48:51 -0700 |
| commit | 4170f62f39edf1ff1e99aec9bfbfe7bbf10e7fc9 (patch) | |
| tree | e993b231bb5555c9c961f5d0b20d90ac76f77bbd /src/keymap.c | |
| parent | 1963a2e0bb07cc8dee6d27f972f93d9cfd7c6b2d (diff) | |
| parent | 49093f601b69d91126aefd328ee8f6bfeb797407 (diff) | |
| download | emacs-4170f62f39edf1ff1e99aec9bfbfe7bbf10e7fc9.tar.gz emacs-4170f62f39edf1ff1e99aec9bfbfe7bbf10e7fc9.zip | |
Merge from mainline.
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/keymap.c b/src/keymap.c index 10000b935aa..8713bcf1279 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -56,8 +56,9 @@ Lisp_Object control_x_map; /* The keymap used for globally bound | |||
| 56 | 56 | ||
| 57 | /* keymap used for minibuffers when doing completion */ | 57 | /* keymap used for minibuffers when doing completion */ |
| 58 | /* keymap used for minibuffers when doing completion and require a match */ | 58 | /* keymap used for minibuffers when doing completion and require a match */ |
| 59 | Lisp_Object Qkeymapp, Qkeymap, Qnon_ascii, Qmenu_item, Qremap; | 59 | static Lisp_Object Qkeymapp, Qnon_ascii; |
| 60 | Lisp_Object QCadvertised_binding; | 60 | Lisp_Object Qkeymap, Qmenu_item, Qremap; |
| 61 | static Lisp_Object QCadvertised_binding; | ||
| 61 | 62 | ||
| 62 | /* Alist of elements like (DEL . "\d"). */ | 63 | /* Alist of elements like (DEL . "\d"). */ |
| 63 | static Lisp_Object exclude_keys; | 64 | static Lisp_Object exclude_keys; |
| @@ -70,6 +71,7 @@ static Lisp_Object where_is_cache; | |||
| 70 | /* Which keymaps are reverse-stored in the cache. */ | 71 | /* Which keymaps are reverse-stored in the cache. */ |
| 71 | static Lisp_Object where_is_cache_keymaps; | 72 | static Lisp_Object where_is_cache_keymaps; |
| 72 | 73 | ||
| 74 | static Lisp_Object Flookup_key (Lisp_Object, Lisp_Object, Lisp_Object); | ||
| 73 | static Lisp_Object store_in_keymap (Lisp_Object, Lisp_Object, Lisp_Object); | 75 | static Lisp_Object store_in_keymap (Lisp_Object, Lisp_Object, Lisp_Object); |
| 74 | static void fix_submap_inheritance (Lisp_Object, Lisp_Object, Lisp_Object); | 76 | static void fix_submap_inheritance (Lisp_Object, Lisp_Object, Lisp_Object); |
| 75 | 77 | ||
| @@ -658,7 +660,7 @@ map_keymap (Lisp_Object map, map_keymap_function_t fun, Lisp_Object args, void * | |||
| 658 | UNGCPRO; | 660 | UNGCPRO; |
| 659 | } | 661 | } |
| 660 | 662 | ||
| 661 | Lisp_Object Qkeymap_canonicalize; | 663 | static Lisp_Object Qkeymap_canonicalize; |
| 662 | 664 | ||
| 663 | /* Same as map_keymap, but does it right, properly eliminating duplicate | 665 | /* Same as map_keymap, but does it right, properly eliminating duplicate |
| 664 | bindings due to inheritance. */ | 666 | bindings due to inheritance. */ |
| @@ -955,7 +957,7 @@ store_in_keymap (Lisp_Object keymap, register Lisp_Object idx, Lisp_Object def) | |||
| 955 | return def; | 957 | return def; |
| 956 | } | 958 | } |
| 957 | 959 | ||
| 958 | EXFUN (Fcopy_keymap, 1); | 960 | static Lisp_Object Fcopy_keymap (Lisp_Object); |
| 959 | 961 | ||
| 960 | static Lisp_Object | 962 | static Lisp_Object |
| 961 | copy_keymap_item (Lisp_Object elt) | 963 | copy_keymap_item (Lisp_Object elt) |
| @@ -2174,7 +2176,7 @@ then the value includes only maps for prefixes that start with PREFIX. */) | |||
| 2174 | } | 2176 | } |
| 2175 | return maps; | 2177 | return maps; |
| 2176 | } | 2178 | } |
| 2177 | Lisp_Object Qsingle_key_description, Qkey_description; | 2179 | static Lisp_Object Qsingle_key_description, Qkey_description; |
| 2178 | 2180 | ||
| 2179 | /* This function cannot GC. */ | 2181 | /* This function cannot GC. */ |
| 2180 | 2182 | ||