emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r104400: * src/nsterm.m (ns_term_shut


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104400: * src/nsterm.m (ns_term_shutdown): Synchronize user defaults before exiting (Bug#8239).
Date: Sat, 28 May 2011 12:56:53 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104400
author: William Xu <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2011-05-28 12:56:53 -0400
message:
  * src/nsterm.m (ns_term_shutdown): Synchronize user defaults before exiting 
(Bug#8239).
modified:
  src/ChangeLog
  src/nsterm.m
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-05-28 12:54:28 +0000
+++ b/src/ChangeLog     2011-05-28 16:56:53 +0000
@@ -1,3 +1,8 @@
+2011-05-28  William Xu  <address@hidden>
+
+       * nsterm.m (ns_term_shutdown): Synchronize user defaults before
+       exiting (Bug#8239).
+
 2011-05-28  Jim Meyering  <address@hidden>
 
        Avoid a sign-extension bug in crypto_hash_function.

=== modified file 'src/nsterm.m'
--- a/src/nsterm.m      2011-05-14 09:03:53 +0000
+++ b/src/nsterm.m      2011-05-28 16:56:53 +0000
@@ -4058,6 +4058,8 @@
 void
 ns_term_shutdown (int sig)
 {
+  [[NSUserDefaults standardUserDefaults] synchronize];
+
   /* code not reached in emacs.c after this is called by shut_down_emacs: */
   if (STRINGP (Vauto_save_list_file_name))
     unlink (SDATA (Vauto_save_list_file_name));


reply via email to

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