aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorJoakim Verona2012-07-31 00:00:41 +0200
committerJoakim Verona2012-07-31 00:00:41 +0200
commit55fa71b3d9bb8609ca3cbb56f92c776ad8724a69 (patch)
treeb002fe941cc8636f8bd735717e440014359839dd /src/keymap.c
parent5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f (diff)
parentb429a4eee4e09b1ba09e17ced5091d042955d84f (diff)
downloademacs-55fa71b3d9bb8609ca3cbb56f92c776ad8724a69.tar.gz
emacs-55fa71b3d9bb8609ca3cbb56f92c776ad8724a69.zip
upstream
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c35
1 files changed, 17 insertions, 18 deletions
diff --git a/src/keymap.c b/src/keymap.c
index feaf0cfd961..3c5d45b0680 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2141,7 +2141,7 @@ The `kbd' macro is an approximate inverse of this. */)
2141 continue; 2141 continue;
2142 } 2142 }
2143 else 2143 else
2144 XSETINT (key, (XINT (key) | meta_modifier) & ~0x80); 2144 XSETINT (key, XINT (key) | meta_modifier);
2145 add_meta = 0; 2145 add_meta = 0;
2146 } 2146 }
2147 else if (EQ (key, meta_prefix_char)) 2147 else if (EQ (key, meta_prefix_char))
@@ -3702,13 +3702,12 @@ syms_of_keymap (void)
3702 Fset (intern_c_string ("ctl-x-map"), control_x_map); 3702 Fset (intern_c_string ("ctl-x-map"), control_x_map);
3703 Ffset (intern_c_string ("Control-X-prefix"), control_x_map); 3703 Ffset (intern_c_string ("Control-X-prefix"), control_x_map);
3704 3704
3705 exclude_keys 3705 exclude_keys = listn (CONSTYPE_PURE, 5,
3706 = pure_cons (pure_cons (build_pure_c_string ("DEL"), build_pure_c_string ("\\d")), 3706 pure_cons (build_pure_c_string ("DEL"), build_pure_c_string ("\\d")),
3707 pure_cons (pure_cons (build_pure_c_string ("TAB"), build_pure_c_string ("\\t")), 3707 pure_cons (build_pure_c_string ("TAB"), build_pure_c_string ("\\t")),
3708 pure_cons (pure_cons (build_pure_c_string ("RET"), build_pure_c_string ("\\r")), 3708 pure_cons (build_pure_c_string ("RET"), build_pure_c_string ("\\r")),
3709 pure_cons (pure_cons (build_pure_c_string ("ESC"), build_pure_c_string ("\\e")), 3709 pure_cons (build_pure_c_string ("ESC"), build_pure_c_string ("\\e")),
3710 pure_cons (pure_cons (build_pure_c_string ("SPC"), build_pure_c_string (" ")), 3710 pure_cons (build_pure_c_string ("SPC"), build_pure_c_string (" ")));
3711 Qnil)))));
3712 staticpro (&exclude_keys); 3711 staticpro (&exclude_keys);
3713 3712
3714 DEFVAR_LISP ("define-key-rebound-commands", Vdefine_key_rebound_commands, 3713 DEFVAR_LISP ("define-key-rebound-commands", Vdefine_key_rebound_commands,
@@ -3761,16 +3760,16 @@ be preferred. */);
3761 where_is_preferred_modifier = 0; 3760 where_is_preferred_modifier = 0;
3762 3761
3763 staticpro (&Vmouse_events); 3762 staticpro (&Vmouse_events);
3764 Vmouse_events = pure_cons (intern_c_string ("menu-bar"), 3763 Vmouse_events = listn (CONSTYPE_PURE, 9,
3765 pure_cons (intern_c_string ("tool-bar"), 3764 intern_c_string ("menu-bar"),
3766 pure_cons (intern_c_string ("header-line"), 3765 intern_c_string ("tool-bar"),
3767 pure_cons (intern_c_string ("mode-line"), 3766 intern_c_string ("header-line"),
3768 pure_cons (intern_c_string ("mouse-1"), 3767 intern_c_string ("mode-line"),
3769 pure_cons (intern_c_string ("mouse-2"), 3768 intern_c_string ("mouse-1"),
3770 pure_cons (intern_c_string ("mouse-3"), 3769 intern_c_string ("mouse-2"),
3771 pure_cons (intern_c_string ("mouse-4"), 3770 intern_c_string ("mouse-3"),
3772 pure_cons (intern_c_string ("mouse-5"), 3771 intern_c_string ("mouse-4"),
3773 Qnil))))))))); 3772 intern_c_string ("mouse-5"));
3774 3773
3775 DEFSYM (Qsingle_key_description, "single-key-description"); 3774 DEFSYM (Qsingle_key_description, "single-key-description");
3776 DEFSYM (Qkey_description, "key-description"); 3775 DEFSYM (Qkey_description, "key-description");