diff options
| author | Stefan Monnier | 2009-08-19 14:39:35 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-08-19 14:39:35 +0000 |
| commit | 1373f3bebca225b0416df029c2259f60aa4cb5ef (patch) | |
| tree | 4ea1a1c41cc8ebb0b12f55c4d85d6a2018b28445 /src | |
| parent | c9af0b6810027f3fe036ac795b066a7e242aa974 (diff) | |
| download | emacs-1373f3bebca225b0416df029c2259f60aa4cb5ef.tar.gz emacs-1373f3bebca225b0416df029c2259f60aa4cb5ef.zip | |
(syms_of_keyboard): Default to 5 buttons, which should be
enough for the most common situations. Avoid SET_SYMBOL_VALUE.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 19 | ||||
| -rw-r--r-- | src/keyboard.c | 6 |
2 files changed, 14 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7fc04ddde93..fc92f40e2ef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,7 +1,12 @@ | |||
| 1 | 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * keyboard.c (syms_of_keyboard): Default to 5 buttons, which should be | ||
| 4 | enough for the most common situations. Avoid SET_SYMBOL_VALUE. | ||
| 5 | |||
| 1 | 2009-08-18 Michael Albinus <michael.albinus@gmx.de> | 6 | 2009-08-18 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus): New | 8 | * dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus): |
| 4 | functions. | 9 | New functions. |
| 5 | (xd_initialize): Revert change from 2009-08-16. | 10 | (xd_initialize): Revert change from 2009-08-16. |
| 6 | 11 | ||
| 7 | 2009-08-18 Kenichi Handa <handa@m17n.org> | 12 | 2009-08-18 Kenichi Handa <handa@m17n.org> |
| @@ -19,8 +24,7 @@ | |||
| 19 | 24 | ||
| 20 | 2009-08-17 Ken Raeburn <raeburn@raeburn.org> | 25 | 2009-08-17 Ken Raeburn <raeburn@raeburn.org> |
| 21 | 26 | ||
| 22 | * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the | 27 | * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value. |
| 23 | value. | ||
| 24 | (XFLOAT_INIT): New macro for storing a float value. | 28 | (XFLOAT_INIT): New macro for storing a float value. |
| 25 | * alloc.c (make_float, make_pure_float): Use XFLOAT_INIT. | 29 | * alloc.c (make_float, make_pure_float): Use XFLOAT_INIT. |
| 26 | * fns.c (sxhash): Copy out the value of a float in order to | 30 | * fns.c (sxhash): Copy out the value of a float in order to |
| @@ -38,8 +42,8 @@ | |||
| 38 | 42 | ||
| 39 | 2009-08-15 Michael Albinus <michael.albinus@gmx.de> | 43 | 2009-08-15 Michael Albinus <michael.albinus@gmx.de> |
| 40 | 44 | ||
| 41 | * dbusbind.c (xd_get_dispatch_status, xd_pending_messages): New | 45 | * dbusbind.c (xd_get_dispatch_status, xd_pending_messages): |
| 42 | functions. | 46 | New functions. |
| 43 | 47 | ||
| 44 | * lisp.h (xd_pending_messages): Declare. | 48 | * lisp.h (xd_pending_messages): Declare. |
| 45 | 49 | ||
| @@ -47,8 +51,7 @@ | |||
| 47 | 51 | ||
| 48 | 2009-08-15 Chong Yidong <cyd@stupidchicken.com> | 52 | 2009-08-15 Chong Yidong <cyd@stupidchicken.com> |
| 49 | 53 | ||
| 50 | * eval.c (Fcalled_interactively_p, Finteractive_p): Doc | 54 | * eval.c (Fcalled_interactively_p, Finteractive_p): Doc fix (Bug#3936). |
| 51 | fix (Bug#3936). | ||
| 52 | 55 | ||
| 53 | * xdisp.c (pop_it): Don't pop into a display vector (Bug#4131). | 56 | * xdisp.c (pop_it): Don't pop into a display vector (Bug#4131). |
| 54 | 57 | ||
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 () | |||
| 11973 | } | 11973 | } |
| 11974 | } | 11974 | } |
| 11975 | 11975 | ||
| 11976 | button_down_location = Fmake_vector (make_number (1), Qnil); | 11976 | button_down_location = Fmake_vector (make_number (5), Qnil); |
| 11977 | staticpro (&button_down_location); | 11977 | staticpro (&button_down_location); |
| 11978 | mouse_syms = Fmake_vector (make_number (1), Qnil); | 11978 | mouse_syms = Fmake_vector (make_number (5), Qnil); |
| 11979 | staticpro (&mouse_syms); | 11979 | staticpro (&mouse_syms); |
| 11980 | wheel_syms = Fmake_vector (make_number (4), Qnil); | 11980 | wheel_syms = Fmake_vector (make_number (4), Qnil); |
| 11981 | staticpro (&wheel_syms); | 11981 | staticpro (&wheel_syms); |
| @@ -12330,7 +12330,7 @@ might happen repeatedly and make Emacs nonfunctional. */); | |||
| 12330 | #endif | 12330 | #endif |
| 12331 | Qecho_area_clear_hook = intern ("echo-area-clear-hook"); | 12331 | Qecho_area_clear_hook = intern ("echo-area-clear-hook"); |
| 12332 | staticpro (&Qecho_area_clear_hook); | 12332 | staticpro (&Qecho_area_clear_hook); |
| 12333 | SET_SYMBOL_VALUE (Qecho_area_clear_hook, Qnil); | 12333 | Fset (Qecho_area_clear_hook, Qnil); |
| 12334 | 12334 | ||
| 12335 | DEFVAR_LISP ("lucid-menu-bar-dirty-flag", &Vlucid_menu_bar_dirty_flag, | 12335 | DEFVAR_LISP ("lucid-menu-bar-dirty-flag", &Vlucid_menu_bar_dirty_flag, |
| 12336 | doc: /* Non-nil means menu bar, specified Lucid style, needs to be recomputed. */); | 12336 | doc: /* Non-nil means menu bar, specified Lucid style, needs to be recomputed. */); |