aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorJoakim Verona2013-01-15 00:03:45 +0100
committerJoakim Verona2013-01-15 00:03:45 +0100
commitbc4f7ac4ec3ee942171b9fef6eec6b1a61cc5b8b (patch)
tree481f44117938f166336393293fa73eaeff179406 /src/keymap.c
parent132fdce3d2530db5a6edeaf4242257ff01ea4760 (diff)
parent982c5d68ff9a798d777d25ccfda7ca6616fab1e2 (diff)
downloademacs-bc4f7ac4ec3ee942171b9fef6eec6b1a61cc5b8b.tar.gz
emacs-bc4f7ac4ec3ee942171b9fef6eec6b1a61cc5b8b.zip
auto upstream
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c
index d1ddd55a358..82c9e980221 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -565,15 +565,14 @@ map_keymap_char_table_item (Lisp_Object args, Lisp_Object key, Lisp_Object val)
565{ 565{
566 if (!NILP (val)) 566 if (!NILP (val))
567 { 567 {
568 map_keymap_function_t fun 568 map_keymap_function_t fun = XSAVE_POINTER (XCAR (args));
569 = (map_keymap_function_t) XSAVE_VALUE (XCAR (args))->pointer;
570 args = XCDR (args); 569 args = XCDR (args);
571 /* If the key is a range, make a copy since map_char_table modifies 570 /* If the key is a range, make a copy since map_char_table modifies
572 it in place. */ 571 it in place. */
573 if (CONSP (key)) 572 if (CONSP (key))
574 key = Fcons (XCAR (key), XCDR (key)); 573 key = Fcons (XCAR (key), XCDR (key));
575 map_keymap_item (fun, XCDR (args), key, val, 574 map_keymap_item (fun, XCDR (args), key, val,
576 XSAVE_VALUE (XCAR (args))->pointer); 575 XSAVE_POINTER (XCAR (args)));
577 } 576 }
578} 577}
579 578