bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23703: 25.0.50; auto-saving painful


From: Glenn Morris
Subject: bug#23703: 25.0.50; auto-saving painful
Date: Mon, 06 Jun 2016 17:43:23 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Do you prefer this:

--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5387,14 +5387,8 @@ The value is a list of the form (HIGH LOW USEC PSEC), 
like the time values that
   msg = CALLN (Fformat, format, BVAR (current_buffer, name),
               Ferror_message_string (error_val));
 
-  for (i = 0; i < 3; ++i)
-    {
-      if (i == 0)
-       message3 (msg);
-      else
-       message3_nolog (msg);
-      Fsleep_for (make_number (1), Qnil);
-    }
+  call3 (intern ("display-warning"),
+         intern ("auto-save"), msg, intern ("error"));
 
   return Qnil;
 }





reply via email to

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