Commit 5ba6571d authored by William Xu's avatar William Xu Committed by Chong Yidong

* src/nsterm.m (ns_term_shutdown): Synchronize user defaults before exiting (Bug#8239).

parent e1900994
2011-05-28 William Xu <william.xwl@gmail.com>
* nsterm.m (ns_term_shutdown): Synchronize user defaults before
exiting (Bug#8239).
2011-05-28 Jim Meyering <meyering@redhat.com>
Avoid a sign-extension bug in crypto_hash_function.
......
......@@ -4058,6 +4058,8 @@ Needs to be here because ns_initialize_display_info () uses AppKit classes.
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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment