diff src/events.c @ 203:850242ba4a81 r20-3b28

Import from CVS: tag r20-3b28
author cvs
date Mon, 13 Aug 2007 10:02:21 +0200
parents 169c0442b401
children e45d5e7c476e
line wrap: on
line diff
--- a/src/events.c	Mon Aug 13 10:01:24 2007 +0200
+++ b/src/events.c	Mon Aug 13 10:02:21 2007 +0200
@@ -435,8 +435,7 @@
       plist = Fcdr (plist);
       if (EQ (prop, Qchannel))
 	{
-	  if (!DEVICEP (val) && !CONSOLEP (val) && !FRAMEP (val)
-	      && !NILP (val))
+	  if (!FRAMEP (val) && !NILP (val))
 	    signal_simple_error ("Invalid event channel", val);
 	  EVENT_CHANNEL (e) = val;
 	}