aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorRichard M. Stallman2009-07-16 01:45:08 +0000
committerRichard M. Stallman2009-07-16 01:45:08 +0000
commit4be941e3d033e95db26ce46c14e44bdcf193e638 (patch)
tree5d738d110e0378ca72018a2ef4150e2145a14645 /src/buffer.h
parent4e6b227dbe52c61ca54df5fc0597fb190734210d (diff)
downloademacs-4be941e3d033e95db26ce46c14e44bdcf193e638.tar.gz
emacs-4be941e3d033e95db26ce46c14e44bdcf193e638.zip
* fileio.c (Fwrite_region, Fdo_auto_save): Handle save_length = -2.
(Fset_buffer_auto_saved): Handle save_length = -2. Comment changes in other files.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 1fb322e3ed9..397b97579e6 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -584,6 +584,9 @@ struct buffer
584 /* This isn't really used by the C code, so could be deleted. */ 584 /* This isn't really used by the C code, so could be deleted. */
585 Lisp_Object backed_up; 585 Lisp_Object backed_up;
586 /* Length of file when last read or saved. 586 /* Length of file when last read or saved.
587 -1 means auto saving turned off because buffer shrank a lot.
588 -2 means don't turn off auto saving if buffer shrinks.
589 (That value is used with buffer-swap-text.)
587 This is not in the struct buffer_text 590 This is not in the struct buffer_text
588 because it's not used in indirect buffers at all. */ 591 because it's not used in indirect buffers at all. */
589 Lisp_Object save_length; 592 Lisp_Object save_length;