aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorStefan Monnier2009-08-19 14:39:35 +0000
committerStefan Monnier2009-08-19 14:39:35 +0000
commit1373f3bebca225b0416df029c2259f60aa4cb5ef (patch)
tree4ea1a1c41cc8ebb0b12f55c4d85d6a2018b28445 /src/keyboard.c
parentc9af0b6810027f3fe036ac795b066a7e242aa974 (diff)
downloademacs-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/keyboard.c')
-rw-r--r--src/keyboard.c6
1 files changed, 3 insertions, 3 deletions
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. */);