aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorPaul Eggert2011-03-14 08:32:56 -0700
committerPaul Eggert2011-03-14 08:32:56 -0700
commit38fc62d95ae8078bedac4a99eb7ea8856f86032e (patch)
treeae757245a0fa65c1096810df645d107a11540b13 /src/keymap.c
parentc8a06054fc9dfb6dcb8c8a77a09657a10212cf4e (diff)
downloademacs-38fc62d95ae8078bedac4a99eb7ea8856f86032e.tar.gz
emacs-38fc62d95ae8078bedac4a99eb7ea8856f86032e.zip
* keymap.c (keymap_parent, keymap_memberp, map_keymap_internal):
(copy_keymap_item, append_key, push_text_char_description): Now static.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 4459ef07d68..cbb6adf3a0b 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -255,7 +255,7 @@ get_keymap (Lisp_Object object, int error, int autoload)
255/* Return the parent map of KEYMAP, or nil if it has none. 255/* Return the parent map of KEYMAP, or nil if it has none.
256 We assume that KEYMAP is a valid keymap. */ 256 We assume that KEYMAP is a valid keymap. */
257 257
258Lisp_Object 258static Lisp_Object
259keymap_parent (Lisp_Object keymap, int autoload) 259keymap_parent (Lisp_Object keymap, int autoload)
260{ 260{
261 Lisp_Object list; 261 Lisp_Object list;
@@ -283,7 +283,7 @@ If KEYMAP has no parent, return nil. */)
283} 283}
284 284
285/* Check whether MAP is one of MAPS parents. */ 285/* Check whether MAP is one of MAPS parents. */
286int 286static int
287keymap_memberp (Lisp_Object map, Lisp_Object maps) 287keymap_memberp (Lisp_Object map, Lisp_Object maps)
288{ 288{
289 if (NILP (map)) return 0; 289 if (NILP (map)) return 0;
@@ -598,7 +598,7 @@ map_keymap_char_table_item (Lisp_Object args, Lisp_Object key, Lisp_Object val)
598 598
599/* Call FUN for every binding in MAP and stop at (and return) the parent. 599/* Call FUN for every binding in MAP and stop at (and return) the parent.
600 FUN is called with 4 arguments: FUN (KEY, BINDING, ARGS, DATA). */ 600 FUN is called with 4 arguments: FUN (KEY, BINDING, ARGS, DATA). */
601Lisp_Object 601static Lisp_Object
602map_keymap_internal (Lisp_Object map, 602map_keymap_internal (Lisp_Object map,
603 map_keymap_function_t fun, 603 map_keymap_function_t fun,
604 Lisp_Object args, 604 Lisp_Object args,
@@ -960,7 +960,7 @@ store_in_keymap (Lisp_Object keymap, register Lisp_Object idx, Lisp_Object def)
960 960
961EXFUN (Fcopy_keymap, 1); 961EXFUN (Fcopy_keymap, 1);
962 962
963Lisp_Object 963static Lisp_Object
964copy_keymap_item (Lisp_Object elt) 964copy_keymap_item (Lisp_Object elt)
965{ 965{
966 Lisp_Object res, tem; 966 Lisp_Object res, tem;
@@ -1337,7 +1337,7 @@ define_as_prefix (Lisp_Object keymap, Lisp_Object c)
1337 1337
1338/* Append a key to the end of a key sequence. We always make a vector. */ 1338/* Append a key to the end of a key sequence. We always make a vector. */
1339 1339
1340Lisp_Object 1340static Lisp_Object
1341append_key (Lisp_Object key_sequence, Lisp_Object key) 1341append_key (Lisp_Object key_sequence, Lisp_Object key)
1342{ 1342{
1343 Lisp_Object args[2]; 1343 Lisp_Object args[2];
@@ -2439,7 +2439,7 @@ around function keys and event symbols. */)
2439 return Qnil; 2439 return Qnil;
2440} 2440}
2441 2441
2442char * 2442static char *
2443push_text_char_description (register unsigned int c, register char *p) 2443push_text_char_description (register unsigned int c, register char *p)
2444{ 2444{
2445 if (c >= 0200) 2445 if (c >= 0200)