]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsselect.m (ns_string_from_pasteboard): Remove Fquit, just return
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 16 Oct 2013 16:55:45 +0000 (18:55 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 16 Oct 2013 16:55:45 +0000 (18:55 +0200)
Qnil.

Fixes: debbugs:15628
src/ChangeLog
src/nsselect.m

index 3b419af9e32b64dad4bc8b97a4412f8998cb590d..9c6ce8321bc24d229b38384b8949dbbb293fd359 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-16  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsselect.m (ns_string_from_pasteboard): Remove Fquit, just return
+       Qnil (Bug#15628).
+
 2013-10-16  Eli Zaretskii  <eliz@gnu.org>
 
        * w32.c (network_interface_get_info, network_interface_list)
index d95ff799877b27b933117d29130401d462035062..00626a42cad5b74e8f3c632dc2f9b9b4f97b15e2 100644 (file)
@@ -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;
         }
     }