From 55796183f834e5c1d34658a6c68d51fddacbb6cd Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 30 Apr 1994 07:39:01 +0000 Subject: [PATCH] (memory_warning_signal): Call force_auto_save_soon. --- src/emacs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/emacs.c b/src/emacs.c index 4d62018fb0a..56d4ecf1409 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -175,6 +175,9 @@ memory_warning_signal (sig) 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 -- 2.39.5