From: Stefan Monnier Date: Wed, 19 Aug 2009 14:39:35 +0000 (+0000) Subject: (syms_of_keyboard): Default to 5 buttons, which should be X-Git-Tag: emacs-pretest-23.1.90~1786 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1373f3bebca225b0416df029c2259f60aa4cb5ef;p=emacs.git (syms_of_keyboard): Default to 5 buttons, which should be enough for the most common situations. Avoid SET_SYMBOL_VALUE. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7fc04ddde93..fc92f40e2ef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 --git a/src/keyboard.c b/src/keyboard.c index 9512e4ac979..dfb625675a4 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -11973,9 +11973,9 @@ syms_of_keyboard () } } - 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 @@ might happen repeatedly and make Emacs nonfunctional. */); #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. */);