aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorJoakim Verona2015-01-11 18:40:21 +0100
committerJoakim Verona2015-01-11 18:40:21 +0100
commitcc7cb20d6abc0f862e5513b24831bba0eaecaa5f (patch)
treeafc2fc05401504aa0c28699dc3bc155c5b0d7f58 /src/keymap.c
parentd972b504f30ff4300ba368940751e8736dddf0b4 (diff)
parent9a57bda31569294ecaf8138a06e5edda9c0d87e3 (diff)
downloademacs-cc7cb20d6abc0f862e5513b24831bba0eaecaa5f.tar.gz
emacs-cc7cb20d6abc0f862e5513b24831bba0eaecaa5f.zip
merge master, fix conflicts
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/keymap.c b/src/keymap.c
index ab21a226271..9c7b4d29a3e 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -76,12 +76,6 @@ Lisp_Object control_x_map; /* The keymap used for globally bound
76 bindings when spaces are not encouraged 76 bindings when spaces are not encouraged
77 in the minibuf. */ 77 in the minibuf. */
78 78
79/* Keymap used for minibuffers when doing completion. */
80/* Keymap used for minibuffers when doing completion and require a match. */
81static Lisp_Object Qkeymapp, Qnon_ascii;
82Lisp_Object Qkeymap, Qmenu_item, Qremap;
83static Lisp_Object QCadvertised_binding;
84
85/* Alist of elements like (DEL . "\d"). */ 79/* Alist of elements like (DEL . "\d"). */
86static Lisp_Object exclude_keys; 80static Lisp_Object exclude_keys;
87 81
@@ -654,8 +648,6 @@ map_keymap (Lisp_Object map, map_keymap_function_t fun, Lisp_Object args,
654 UNGCPRO; 648 UNGCPRO;
655} 649}
656 650
657static Lisp_Object Qkeymap_canonicalize;
658
659/* Same as map_keymap, but does it right, properly eliminating duplicate 651/* Same as map_keymap, but does it right, properly eliminating duplicate
660 bindings due to inheritance. */ 652 bindings due to inheritance. */
661void 653void
@@ -1998,7 +1990,6 @@ then the value includes only maps for prefixes that start with PREFIX. */)
1998 } 1990 }
1999 return maps; 1991 return maps;
2000} 1992}
2001static Lisp_Object Qsingle_key_description, Qkey_description;
2002 1993
2003/* This function cannot GC. */ 1994/* This function cannot GC. */
2004 1995
@@ -3734,12 +3725,15 @@ be preferred. */);
3734 Vwhere_is_preferred_modifier = Qnil; 3725 Vwhere_is_preferred_modifier = Qnil;
3735 where_is_preferred_modifier = 0; 3726 where_is_preferred_modifier = 0;
3736 3727
3728 DEFSYM (Qmenu_bar, "menu-bar");
3729 DEFSYM (Qmode_line, "mode-line");
3730
3737 staticpro (&Vmouse_events); 3731 staticpro (&Vmouse_events);
3738 Vmouse_events = listn (CONSTYPE_PURE, 9, 3732 Vmouse_events = listn (CONSTYPE_PURE, 9,
3739 intern_c_string ("menu-bar"), 3733 Qmenu_bar,
3740 intern_c_string ("tool-bar"), 3734 intern_c_string ("tool-bar"),
3741 intern_c_string ("header-line"), 3735 intern_c_string ("header-line"),
3742 intern_c_string ("mode-line"), 3736 Qmode_line,
3743 intern_c_string ("mouse-1"), 3737 intern_c_string ("mouse-1"),
3744 intern_c_string ("mouse-2"), 3738 intern_c_string ("mouse-2"),
3745 intern_c_string ("mouse-3"), 3739 intern_c_string ("mouse-3"),
@@ -3748,6 +3742,9 @@ be preferred. */);
3748 3742
3749 DEFSYM (Qsingle_key_description, "single-key-description"); 3743 DEFSYM (Qsingle_key_description, "single-key-description");
3750 DEFSYM (Qkey_description, "key-description"); 3744 DEFSYM (Qkey_description, "key-description");
3745
3746 /* Keymap used for minibuffers when doing completion. */
3747 /* Keymap used for minibuffers when doing completion and require a match. */
3751 DEFSYM (Qkeymapp, "keymapp"); 3748 DEFSYM (Qkeymapp, "keymapp");
3752 DEFSYM (Qnon_ascii, "non-ascii"); 3749 DEFSYM (Qnon_ascii, "non-ascii");
3753 DEFSYM (Qmenu_item, "menu-item"); 3750 DEFSYM (Qmenu_item, "menu-item");