Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

terminate application soon after launch emacs unless setting panel is…

… not visible
  • Loading branch information...
commit fc5195d62dbd8432268c9f4cf4e5a75e7d1b365b 1 parent b337d4c
@typester typester authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Classes/App.m
View
4 Classes/App.m
@@ -36,6 +36,10 @@ -(void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSApple
}
}
}
+
+ if (![prefPanel isVisible]) {
+ [NSApp terminate:self];
+ }
}
-(IBAction)showPrefPanel:(id)sender {
Please sign in to comment.
Something went wrong with that request. Please try again.