summaryrefslogtreecommitdiff
path: root/src/nsselect.m
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2013-10-16 18:55:45 +0200
committerJan Djärv <jan.h.d@swipnet.se>2013-10-16 18:55:45 +0200
commit2318fccaa605347e1d7fc50c13334f6c18c1c6ce (patch)
treeec4d0c67951f4c6857c98089cab8bb9143c1eff1 /src/nsselect.m
parent3dffe395916c0c075c1609c41e553d9f8e3690ea (diff)
downloademacs-2318fccaa605347e1d7fc50c13334f6c18c1c6ce.tar.gz
* nsselect.m (ns_string_from_pasteboard): Remove Fquit, just return
Qnil. Fixes: debbugs:15628
Diffstat (limited to 'src/nsselect.m')
-rw-r--r--src/nsselect.m7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/nsselect.m b/src/nsselect.m
index d95ff799877..00626a42cad 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -256,9 +256,7 @@ ns_string_from_pasteboard (id pb)
type = [pb availableTypeFromArray: ns_return_types];
if (type == nil)
{
- Fsignal (Qquit,
- list1 (build_string ("empty or unsupported pasteboard type")));
- return Qnil;
+ return Qnil;
}
/* get the string */
@@ -274,9 +272,6 @@ ns_string_from_pasteboard (id pb)
}
else
{
- Fsignal (Qquit,
- list1 (build_string ("pasteboard doesn't contain"
- " valid data")));
return Qnil;
}
}