|
From: | Jan D. |
Subject: | Re: Drag and drop patch for X, please review. |
Date: | Mon, 19 Jan 2004 21:49:32 +0100 |
I'd suggest: (1) Make the alist entry be one of (DND-TYPE DROP-FUN TEST-FUN) or(DND-TYPE . DROP-FUN) with TEST-FUN being a test function that accepts the same args as DROP-FUN. Putting the TEST-FUN last makes it easierto omit.
I forgot to mention, it is not possible to use the same arguments. We can not read the data to be dropped before we have determined which type to use, so the data is not available to a TEST-FUN. Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |