]> git.eshelyaron.com Git - emacs.git/commitdiff
; Silence macOS 14 warning
authorEshel Yaron <me@eshelyaron.com>
Wed, 27 Sep 2023 18:46:26 +0000 (20:46 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 29 Sep 2023 11:32:55 +0000 (13:32 +0200)
* src/nsterm.m: Implement 'applicationSupportsSecureRestorableState'
to silence warning on macOS 14.  (Bug#66245)

src/nsterm.m

index c809c0b824aff5f62440421180f1093c92377815..7c9fd102a7f8519a9d4d1e0288cb30c330885744 100644 (file)
@@ -6124,6 +6124,11 @@ ns_term_shutdown (int sig)
 
 */
 
+- (BOOL) applicationSupportsSecureRestorableState: (NSApplication *)app
+{
+  return YES;
+}
+
 - (void) terminate: (id)sender
 {
   struct input_event ie;