aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorJoakim Verona2011-11-22 15:46:22 +0100
committerJoakim Verona2011-11-22 15:46:22 +0100
commita9c1e05adddf6011c61c0df582c5f2ed423f35c8 (patch)
tree489fac119296416ba2f3530fd3bcb70efbbbdaa6 /src/keymap.c
parent40bb789236e486a3f36eefb2840c293369ce2af3 (diff)
parentb5afc20930c91159a1cbf629bcaa7e251653dc74 (diff)
downloademacs-a9c1e05adddf6011c61c0df582c5f2ed423f35c8.tar.gz
emacs-a9c1e05adddf6011c61c0df582c5f2ed423f35c8.zip
upstream
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 6f9cf288f6d..b429ca968d7 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2624,11 +2624,11 @@ remapped command in the returned list. */)
2624 /* We have a list of advertised bindings. */ 2624 /* We have a list of advertised bindings. */
2625 while (CONSP (tem)) 2625 while (CONSP (tem))
2626 if (EQ (shadow_lookup (keymaps, XCAR (tem), Qnil, 0), definition)) 2626 if (EQ (shadow_lookup (keymaps, XCAR (tem), Qnil, 0), definition))
2627 return XCAR (tem); 2627 RETURN_UNGCPRO (XCAR (tem));
2628 else 2628 else
2629 tem = XCDR (tem); 2629 tem = XCDR (tem);
2630 if (EQ (shadow_lookup (keymaps, tem, Qnil, 0), definition)) 2630 if (EQ (shadow_lookup (keymaps, tem, Qnil, 0), definition))
2631 return tem; 2631 RETURN_UNGCPRO (tem);
2632 } 2632 }
2633 2633
2634 sequences = Freverse (where_is_internal (definition, keymaps, 2634 sequences = Freverse (where_is_internal (definition, keymaps,