aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorJuanma Barranquero2011-03-26 02:23:15 +0100
committerJuanma Barranquero2011-03-26 02:23:15 +0100
commitf868cd8a7186e86e4c9bbd52de2aca99fa94648f (patch)
treec861c3ee7b8fe1c1f12729faac4a8e08c0b5862c /src/xmenu.c
parentdc8026879ec33cfdcb47973ab7a3c14789c62aa6 (diff)
downloademacs-f868cd8a7186e86e4c9bbd52de2aca99fa94648f.tar.gz
emacs-f868cd8a7186e86e4c9bbd52de2aca99fa94648f.zip
src/*.h: Remove unused parameters and functions.
* keyboard.h (timer_check, show_help_echo): Remove unused parameters. * keyboard.c (timer_check): Remove parameter `do_it_now', unused since 1996-04-12T06:01:29Z!rms@gnu.org. (show_help_echo): Remove parameter `ok_to_overwrite_keystroke_echo', unused since 2008-04-19T19:30:53Z!monnier@iro.umontreal.ca. * keyboard.c (read_char): * w32menu.c (w32_menu_display_help): * xmenu.c (show_help_event, menu_help_callback): Adjust calls to `show_help_echo'. * gtkutil.c (xg_maybe_add_timer): * keyboard.c (readable_events): * process.c (wait_reading_process_output): * xmenu.c (x_menu_wait_for_event): Adjust calls to `timer_check'. * insdel.c (adjust_markers_gap_motion): Remove; no-op since 1998-01-02T21:29:48Z!rms@gnu.org. (gap_left, gap_right): Don't call it.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 60ac27a5b8f..8ecef00c88e 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -383,7 +383,7 @@ x_menu_wait_for_event (void *data)
383#endif 383#endif
384 ) 384 )
385 { 385 {
386 EMACS_TIME next_time = timer_check (1), *ntp; 386 EMACS_TIME next_time = timer_check (), *ntp;
387 long secs = EMACS_SECS (next_time); 387 long secs = EMACS_SECS (next_time);
388 long usecs = EMACS_USECS (next_time); 388 long usecs = EMACS_USECS (next_time);
389 SELECT_TYPE read_fds; 389 SELECT_TYPE read_fds;
@@ -712,7 +712,7 @@ show_help_event (FRAME_PTR f, xt_or_gtk_widget widget, Lisp_Object help)
712 break; 712 break;
713 } 713 }
714#endif 714#endif
715 show_help_echo (help, Qnil, Qnil, Qnil, 1); 715 show_help_echo (help, Qnil, Qnil, Qnil);
716 } 716 }
717} 717}
718 718
@@ -2201,7 +2201,7 @@ menu_help_callback (char *help_string, int pane, int item)
2201 Fcons (pane_name, 2201 Fcons (pane_name,
2202 Fcons (make_number (pane), Qnil))); 2202 Fcons (make_number (pane), Qnil)));
2203 show_help_echo (help_string ? build_string (help_string) : Qnil, 2203 show_help_echo (help_string ? build_string (help_string) : Qnil,
2204 Qnil, menu_object, make_number (item), 1); 2204 Qnil, menu_object, make_number (item));
2205} 2205}
2206 2206
2207static Lisp_Object 2207static Lisp_Object