aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 954020dcde9..d92d6c32448 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -5193,7 +5193,21 @@ ns_term_init (Lisp_Object display_name)
5193 alpha: 1.0] 5193 alpha: 1.0]
5194 forKey: [NSString stringWithUTF8String: name]]; 5194 forKey: [NSString stringWithUTF8String: name]];
5195 } 5195 }
5196 [cl writeToFile: nil]; 5196
5197 /* FIXME: Report any errors writing the color file below. */
5198#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101100
5199#if MAC_OS_X_VERSION_MIN_REQUIRED < 101100
5200 if ([cl respondsToSelector:@selector(writeToURL:error:)])
5201#endif
5202 [cl writeToURL:nil error:nil];
5203#if MAC_OS_X_VERSION_MIN_REQUIRED < 101100
5204 else
5205#endif
5206#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 101100 */
5207#if MAC_OS_X_VERSION_MIN_REQUIRED < 101100 \
5208 || defined (NS_IMPL_GNUSTEP)
5209 [cl writeToFile: nil];
5210#endif
5197 } 5211 }
5198 } 5212 }
5199 5213