# HG changeset patch # User Richard M. Stallman # Date 767691541 0 # Node ID 38931e897e562629ddc377251a64363aec5ac94b # Parent 3dae5675cd3ecc02b496b7fa870258520653d0e1 (memory_warning_signal): Call force_auto_save_soon. diff -r 3dae5675cd3e -r 38931e897e56 src/emacs.c --- a/src/emacs.c Sat Apr 30 07:23:15 1994 +0000 +++ b/src/emacs.c Sat Apr 30 07:39:01 1994 +0000 @@ -175,6 +175,9 @@ signal (sig, memory_warning_signal); malloc_warning ("Operating system warns that virtual memory is running low.\n"); + + /* It might be unsafe to call do_auto_save now. */ + force_auto_save_soon (); } #endif