]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsmenu.m (runDialogAt): Remove argument to timer_check.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 27 Mar 2011 09:23:52 +0000 (11:23 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 27 Mar 2011 09:23:52 +0000 (11:23 +0200)
src/ChangeLog
src/nsmenu.m

index 54b24c50a1cbb756d725161fe8163497b46a2391..eb03806b33a12b46ba638d4da57910d8c831cf24 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsmenu.m (runDialogAt): Remove argument to timer_check.
+
 2011-03-27  Glenn Morris  <rgm@gnu.org>
 
        * syssignal.h: Replace RETSIGTYPE with void.
index e8d4a256906029e8d6c9860cb40134c6e9e0d1f2..623c933ce8e774eb7d082e3d698ddf4877558c38 100644 (file)
@@ -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]];
     }