Commit 4ae7943d authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(x_get_local_selection): Use signal_error.

parent 336d4a9c
......@@ -594,11 +594,9 @@ x_get_local_selection (selection_symbol, target_type, local_request)
&& INTEGERP (XCAR (XCDR (check)))
&& NILP (XCDR (XCDR (check))))))
return value;
else
return
Fsignal (Qerror,
Fcons (build_string ("invalid data returned by selection-conversion function"),
Fcons (handler_fn, Fcons (value, Qnil))));
signal_error ("Invalid data returned by selection-conversion function",
list2 (handler_fn, value));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment