comparison src/fileio.c @ 43081:6307d3a2321b

(Fdo_auto_save): Improve "auto save disabled" msg.
author Richard M. Stallman <rms@gnu.org>
date Sun, 03 Feb 2002 10:36:49 +0000
parents f2c23e762b64
children 4934ed73c7a4
comparison
equal deleted inserted replaced
43080:a6382f0fcb2a 43081:6307d3a2321b
5669 && !EQ (b->filename, Qnil) 5669 && !EQ (b->filename, Qnil)
5670 && NILP (no_message)) 5670 && NILP (no_message))
5671 { 5671 {
5672 /* It has shrunk too much; turn off auto-saving here. */ 5672 /* It has shrunk too much; turn off auto-saving here. */
5673 minibuffer_auto_raise = orig_minibuffer_auto_raise; 5673 minibuffer_auto_raise = orig_minibuffer_auto_raise;
5674 message_with_string ("Buffer %s has shrunk a lot; auto save turned off there", 5674 message_with_string ("Buffer %s has shrunk a lot; auto save disabled in that buffer until next real save",
5675 b->name, 1); 5675 b->name, 1);
5676 minibuffer_auto_raise = 0; 5676 minibuffer_auto_raise = 0;
5677 /* Turn off auto-saving until there's a real save, 5677 /* Turn off auto-saving until there's a real save,
5678 and prevent any more warnings. */ 5678 and prevent any more warnings. */
5679 XSETINT (b->save_length, -1); 5679 XSETINT (b->save_length, -1);