diff options
| author | Kim F. Storm | 2006-07-18 13:28:39 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-07-18 13:28:39 +0000 |
| commit | 4ae7943dc65f588b775eece3f4bc8fc310adff5c (patch) | |
| tree | b3aa129730550e8661d7a1af3de6dc36c13a4e1d /src/macselect.c | |
| parent | 336d4a9c4fa1b6b2136178b25276e8acc9e17986 (diff) | |
| download | emacs-4ae7943dc65f588b775eece3f4bc8fc310adff5c.tar.gz emacs-4ae7943dc65f588b775eece3f4bc8fc310adff5c.zip | |
(x_get_local_selection): Use signal_error.
Diffstat (limited to 'src/macselect.c')
| -rw-r--r-- | src/macselect.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/macselect.c b/src/macselect.c index 3afea1e9813..67a28cf9e64 100644 --- a/src/macselect.c +++ b/src/macselect.c | |||
| @@ -594,11 +594,9 @@ x_get_local_selection (selection_symbol, target_type, local_request) | |||
| 594 | && INTEGERP (XCAR (XCDR (check))) | 594 | && INTEGERP (XCAR (XCDR (check))) |
| 595 | && NILP (XCDR (XCDR (check)))))) | 595 | && NILP (XCDR (XCDR (check)))))) |
| 596 | return value; | 596 | return value; |
| 597 | else | 597 | |
| 598 | return | 598 | signal_error ("Invalid data returned by selection-conversion function", |
| 599 | Fsignal (Qerror, | 599 | list2 (handler_fn, value)); |
| 600 | Fcons (build_string ("invalid data returned by selection-conversion function"), | ||
| 601 | Fcons (handler_fn, Fcons (value, Qnil)))); | ||
| 602 | } | 600 | } |
| 603 | 601 | ||
| 604 | 602 | ||