]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Support more complex code blocks as argument to `run-in-thread"
authorGiuseppe Scrivano <gscrivano@gnu.org>
Fri, 22 Jan 2010 01:39:51 +0000 (02:39 +0100)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Fri, 22 Jan 2010 01:39:51 +0000 (02:39 +0100)
This reverts commit a54548174153cb02b366fe6164cf3aa30597759c.

src/thread.c

index eae83afa3c09e0317ce1b167484ab38a90f4d40a..3c3322e94555606182b1568399fdedde6b45a1cd 100644 (file)
@@ -201,7 +201,7 @@ invoke_thread_function (void)
     }
   current_thread->initial_specpdl = Qnil;
 
-  Feval (current_thread->func);
+  Ffuncall (1, &current_thread->func);
   return unbind_to (count, Qnil);
 }