Commit 6ce387e6 authored by Jim Blandy's avatar Jim Blandy
Browse files

* keyboard.c (menu_bar_items, read_key_sequence): Use

	current_global_map, not global_map; the latter is only meant to be
	used for initial_define_key.
	* commands.h: Doc fix.

	* commands.h (Vglobal_mouse_map): Removed; unused.
	* xfns.c (Vglobal_mouse_map): Same.
parent 384c7da4
......@@ -20,18 +20,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define Ctl(c) ((c)&037)
/* Define the names of keymaps, just so people can refer to
them in calls to initial_define_key */
/* Define the names of keymaps, just so people can refer to them in
calls to initial_define_key. These should *not* be used after
initialization; use-global-map doesn't affect these; it sets
current_global_map instead. */
extern Lisp_Object global_map;
extern Lisp_Object meta_map;
extern Lisp_Object control_x_map;
/* Keymap for mouse commands. */
extern Lisp_Object Vglobal_mouse_map;
extern Lisp_Object Vminibuffer_local_map;
extern Lisp_Object Vminibuffer_local_ns_map;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment