From: Philipp Stephani Date: Sat, 20 May 2017 14:56:38 +0000 (+0200) Subject: Fix call of registerServicesMenuSendTypes X-Git-Tag: emacs-26.0.90~521^2~313 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa389f5b54aedab0b4cc5f8fb6f558e55b27d55d;p=emacs.git Fix call of registerServicesMenuSendTypes * src/nsterm.m (initFrameFromEmacs:): nil is not allowed for returnTypes; pass an empty array instead. --- diff --git a/src/nsterm.m b/src/nsterm.m index 6e138b7eb6c..c8320130a87 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.