Mercurial > emacs
diff src/buffer.h @ 103917:aa5e8ff5a9c4
* fileio.c (Fwrite_region, Fdo_auto_save): Handle save_length = -2.
(Fset_buffer_auto_saved): Handle save_length = -2.
Comment changes in other files.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Thu, 16 Jul 2009 01:45:08 +0000 |
| parents | e038c1a8307c |
| children | de38a863010a |
line wrap: on
line diff
--- a/src/buffer.h Thu Jul 16 01:24:00 2009 +0000 +++ b/src/buffer.h Thu Jul 16 01:45:08 2009 +0000 @@ -584,6 +584,9 @@ /* This isn't really used by the C code, so could be deleted. */ Lisp_Object backed_up; /* Length of file when last read or saved. + -1 means auto saving turned off because buffer shrank a lot. + -2 means don't turn off auto saving if buffer shrinks. + (That value is used with buffer-swap-text.) This is not in the struct buffer_text because it's not used in indirect buffers at all. */ Lisp_Object save_length;
