From: Gerd Moellmann Date: Mon, 3 Apr 2000 12:19:31 +0000 (+0000) Subject: (NUM_MOUSE_BUTTONS): Removed. X-Git-Tag: emacs-pretest-21.0.90~4346 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=587a49abfbb988ea16cc2b6dcad3b532fabd27ff;p=emacs.git (NUM_MOUSE_BUTTONS): Removed. --- diff --git a/src/ChangeLog b/src/ChangeLog index 9f3f20bbb3e..2f80f3e727d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,26 @@ +2000-04-03 Gerd Moellmann + + * keyboard.c (lispy_mouse_names): Variable removed. + (Vlispy_mouse_stem): New variable. + (syms_of_keyboard): Initialize Vlispy_mouse_stem. + (make_lispy_event) : Don't abort + for any mouse button number. Increase size of mouse_syms and + button_down_location as needed. Call modify_event_symbol with + different arguments. + (make_lispy_event) [USE_TOOLKIT_SCROLL_BARS]: + Call modify_event_symbol with different arguments. + (make_lispy_event) [WINDOWSNT]: Don't abort + for any button number. Call modify_event_symbol with different + arguments. + (modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM. + Accept a string for NAME_ALIST_OR_STEM. + + * lisp.h (larger_vector): Add prototype. + + * fns.c (larger_vector): Make externally visible. + + * termhooks.h (NUM_MOUSE_BUTTONS): Removed. + 2000-04-02 Stefan Monnier * regex.c (PTR_TO_OFFSET) [!emacs]: Remove. @@ -66,13 +89,13 @@ (handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as count arg to variable-arg routines like Frun_hook_with_args and Fformat. - (back_to_previous_visible_line_start, - build_desired_tool_bar_string): Pass Lisp_Object, not int, to + (back_to_previous_visible_line_start) + (build_desired_tool_bar_string): Pass Lisp_Object, not int, to fixed-arg routines like Fget_char_property and Fmake_string. (reconsider_clip_changes): Use XINT when comparing integer lisp objects, or passing them as int arguments. - (mark_window_display_accurate, insert_left_trunc_glyphs, - append_space, extend_face_to_end_of_line): Use make_number when + (mark_window_display_accurate, insert_left_trunc_glyphs) + (append_space, extend_face_to_end_of_line): Use make_number when storing or passing integer values as lisp objects. (set_cursor_from_row, highlight_trailing_whitespace): Use INTEGERP, not implicit test against zero, for glyph object. diff --git a/src/termhooks.h b/src/termhooks.h index cd7476b93c9..b6050cde256 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -363,9 +363,6 @@ extern int (*read_socket_hook) P_ ((int, struct input_event *, int, int)); /* Called when a frame's display becomes entirely up to date. */ extern void (*frame_up_to_date_hook) P_ ((struct frame *)); -/* This is used in keyboard.c, to tell how many buttons we will need - to track the positions of. */ -#define NUM_MOUSE_BUTTONS 15 /* Bits in the modifiers member of the input_event structure. Note that reorder_modifiers assumes that the bits are in canonical