emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master fa389f5 12/13: Fix call of registerServicesMenuSend


From: Philipp Stephani
Subject: [Emacs-diffs] master fa389f5 12/13: Fix call of registerServicesMenuSendTypes
Date: Sun, 21 May 2017 15:51:48 -0400 (EDT)

branch: master
commit fa389f5b54aedab0b4cc5f8fb6f558e55b27d55d
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Fix call of registerServicesMenuSendTypes
    
    * src/nsterm.m (initFrameFromEmacs:): nil is not allowed for
    returnTypes; pass an empty array instead.
---
 src/nsterm.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index 6e138b7..c832013 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7022,7 +7022,7 @@ not_in_argv (NSString *arg)
   [self allocateGState];
 #endif
   [NSApp registerServicesMenuSendTypes: ns_send_types
-                           returnTypes: nil];
+                           returnTypes: [NSArray array]];
 
   /* macOS Sierra automatically enables tabbed windows.  We can't
      allow this to be enabled until it's available on a Free system.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]