From: Jan Djärv Date: Sun, 27 Mar 2011 09:23:52 +0000 (+0200) Subject: * nsmenu.m (runDialogAt): Remove argument to timer_check. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~474 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c380ffb17f2fb6f22d9f24a7732b7e4a1e0cd52;p=emacs.git * nsmenu.m (runDialogAt): Remove argument to timer_check. --- diff --git a/src/ChangeLog b/src/ChangeLog index 54b24c50a1c..eb03806b33a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-03-27 Jan Djärv + + * nsmenu.m (runDialogAt): Remove argument to timer_check. + 2011-03-27 Glenn Morris * syssignal.h: Replace RETSIGTYPE with void. diff --git a/src/nsmenu.m b/src/nsmenu.m index e8d4a256906..623c933ce8e 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -1705,7 +1705,6 @@ void process_dialog (id window, Lisp_Object list) - (Lisp_Object)runDialogAt: (NSPoint)p { NSInteger ret; - extern EMACS_TIME timer_check (int do_it_now); /* TODO: add to a header */ /* initiate a session that will be ended by pop_down_menu */ popupSession = [NSApp beginModalSessionForWindow: self]; @@ -1715,7 +1714,7 @@ void process_dialog (id window, Lisp_Object list) { /* Run this for timers.el, indep of atimers; might not return. TODO: use return value to avoid calling every iteration. */ - timer_check (1); + timer_check (); [NSThread sleepUntilDate: [NSDate dateWithTimeIntervalSinceNow: 0.1]]; }