I think this is probably the culprit. I suspect what's
happening is that own-selection is adding a nil-typed
entry, but get-selection is requesting a STRING-typed
entry and can't find it.
Kind regards,
Alastair.
src/ChangeLog:
2000-07-18 Alastair J. Houghton <ajhoughton(a)lineone.net>
* select.c (get_selection_internal, own_selection_internal):
Make the type default to STRING, rather than placing a nil type
into Vselection_alist.
--- ../orig/xemacs-21.2/src/select.c Sun Jul 16 12:32:58 2000
+++ xemacs-21.2/src/select.c Tue Jul 18 10:24:31 2000
@@ -155,6 +158,9 @@
&& !EQ (how_to_add, Qreplace_all) && !NILP (how_to_add))
error ("how-to-add must be nil, append, replace_all, "
"replace_existing or t.");
+
+ if (NILP (data_type))
+ data_type = QSTRING;
/* Examine the how-to-add argument */
if (EQ (how_to_add, Qreplace_all) || NILP (how_to_add))
@@ -502,6 +508,9 @@
if (NILP (device))
device = Fselected_device (Qnil);
+ if (NILP (target_type))
+ target_type = QSTRING;
+
#if 0 /* #### MULTIPLE doesn't work yet and probably never will */
if (CONSP (target_type) &&
XCAR (target_type) == QMULTIPLE)
--
____________________________________________________________
Alastair Houghton ajhoughton(a)lineone.net