emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 a4185f87bd0: ; Silence macOS 14 warning


From: Stefan Kangas
Subject: emacs-29 a4185f87bd0: ; Silence macOS 14 warning
Date: Fri, 29 Sep 2023 07:33:10 -0400 (EDT)

branch: emacs-29
commit a4185f87bd0e5c129ce93a56b5a3330e2d6b1776
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; Silence macOS 14 warning
    
    * src/nsterm.m: Implement 'applicationSupportsSecureRestorableState'
    to silence warning on macOS 14.  (Bug#66245)
---
 src/nsterm.m | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/nsterm.m b/src/nsterm.m
index c809c0b824a..7c9fd102a7f 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6124,6 +6124,11 @@ ns_term_shutdown (int sig)
 
 */
 
+- (BOOL) applicationSupportsSecureRestorableState: (NSApplication *)app
+{
+  return YES;
+}
+
 - (void) terminate: (id)sender
 {
   struct input_event ie;



reply via email to

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