# HG changeset patch # User Stefan Monnier # Date 1250692775 0 # Node ID cc98a06402680a9a7ba78a6218d8c221112d4a9b # Parent c31a03d47ec907a040d14a28bf9fc4fcac4094df (syms_of_keyboard): Default to 5 buttons, which should be enough for the most common situations. Avoid SET_SYMBOL_VALUE. diff -r c31a03d47ec9 -r cc98a0640268 src/ChangeLog --- a/src/ChangeLog Wed Aug 19 11:23:19 2009 +0000 +++ b/src/ChangeLog Wed Aug 19 14:39:35 2009 +0000 @@ -1,7 +1,12 @@ +2009-08-19 Stefan Monnier + + * keyboard.c (syms_of_keyboard): Default to 5 buttons, which should be + enough for the most common situations. Avoid SET_SYMBOL_VALUE. + 2009-08-18 Michael Albinus - * dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus): New - functions. + * dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus): + New functions. (xd_initialize): Revert change from 2009-08-16. 2009-08-18 Kenichi Handa @@ -19,8 +24,7 @@ 2009-08-17 Ken Raeburn - * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the - value. + * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value. (XFLOAT_INIT): New macro for storing a float value. * alloc.c (make_float, make_pure_float): Use XFLOAT_INIT. * fns.c (sxhash): Copy out the value of a float in order to @@ -38,8 +42,8 @@ 2009-08-15 Michael Albinus - * dbusbind.c (xd_get_dispatch_status, xd_pending_messages): New - functions. + * dbusbind.c (xd_get_dispatch_status, xd_pending_messages): + New functions. * lisp.h (xd_pending_messages): Declare. @@ -47,8 +51,7 @@ 2009-08-15 Chong Yidong - * eval.c (Fcalled_interactively_p, Finteractive_p): Doc - fix (Bug#3936). + * eval.c (Fcalled_interactively_p, Finteractive_p): Doc fix (Bug#3936). * xdisp.c (pop_it): Don't pop into a display vector (Bug#4131). diff -r c31a03d47ec9 -r cc98a0640268 src/keyboard.c --- a/src/keyboard.c Wed Aug 19 11:23:19 2009 +0000 +++ b/src/keyboard.c Wed Aug 19 14:39:35 2009 +0000 @@ -11973,9 +11973,9 @@ } } - button_down_location = Fmake_vector (make_number (1), Qnil); + button_down_location = Fmake_vector (make_number (5), Qnil); staticpro (&button_down_location); - mouse_syms = Fmake_vector (make_number (1), Qnil); + mouse_syms = Fmake_vector (make_number (5), Qnil); staticpro (&mouse_syms); wheel_syms = Fmake_vector (make_number (4), Qnil); staticpro (&wheel_syms); @@ -12330,7 +12330,7 @@ #endif Qecho_area_clear_hook = intern ("echo-area-clear-hook"); staticpro (&Qecho_area_clear_hook); - SET_SYMBOL_VALUE (Qecho_area_clear_hook, Qnil); + Fset (Qecho_area_clear_hook, Qnil); DEFVAR_LISP ("lucid-menu-bar-dirty-flag", &Vlucid_menu_bar_dirty_flag, doc: /* Non-nil means menu bar, specified Lucid style, needs to be recomputed. */);