aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
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.c
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.c')
-rw-r--r--src/buffer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index f06a6c06a92..f811f162ef2 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5853,7 +5853,12 @@ Backing up is done before the first time the file is saved. */);
5853 DEFVAR_PER_BUFFER ("buffer-saved-size", &current_buffer->save_length, 5853 DEFVAR_PER_BUFFER ("buffer-saved-size", &current_buffer->save_length,
5854 make_number (Lisp_Int), 5854 make_number (Lisp_Int),
5855 doc: /* Length of current buffer when last read in, saved or auto-saved. 5855 doc: /* Length of current buffer when last read in, saved or auto-saved.
58560 initially. */); 58560 initially.
5857-1 means auto-saving turned off until next real save.
5858
5859If you set this to -2, that means don't turn off auto-saving in this buffer
5860if its text size shrinks. If you use `buffer-swap-text' on a buffer,
5861you probably should set this to -2 in that buffer. */);
5857 5862
5858 DEFVAR_PER_BUFFER ("selective-display", &current_buffer->selective_display, 5863 DEFVAR_PER_BUFFER ("selective-display", &current_buffer->selective_display,
5859 Qnil, 5864 Qnil,