emacs-diffs
[Top][All Lists]
Advanced

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

master 92ec479: Get rid of build-time checks around NS tabbar code (bug#


From: Alan Third
Subject: master 92ec479: Get rid of build-time checks around NS tabbar code (bug#33118)
Date: Tue, 18 Aug 2020 17:43:43 -0400 (EDT)

branch: master
commit 92ec47981acd353658782ce2e094e9f270d8bd8d
Author: Alan Third <alan@idiocy.org>
Commit: Alan Third <alan@idiocy.org>

    Get rid of build-time checks around NS tabbar code (bug#33118)
    
    * src/nsterm.m ([EmacsView initFrameFromEmacs:]): Get rid of version
    checks.
---
 src/nsterm.m | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index c1d133a..98c5b69 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7669,11 +7669,8 @@ not_in_argv (NSString *arg)
   /* macOS Sierra automatically enables tabbed windows.  We can't
      allow this to be enabled until it's available on a Free system.
      Currently it only happens by accident and is buggy anyway.  */
-#if defined (NS_IMPL_COCOA) \
-  && MAC_OS_X_VERSION_MAX_ALLOWED >= 101200
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 101200
+#ifdef NS_IMPL_COCOA
   if ([win respondsToSelector: @selector(setTabbingMode:)])
-#endif
     [win setTabbingMode: NSWindowTabbingModeDisallowed];
 #endif
 



reply via email to

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