changeset 6966:cf60a8adeadd

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Tue, 19 Apr 1994 18:32:49 +0000
parents 7fd01c621b82
children d74f85e99ab4
files lispref/backups.texi
diffstat 1 files changed, 19 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/backups.texi	Tue Apr 19 07:44:27 1994 +0000
+++ b/lispref/backups.texi	Tue Apr 19 18:32:49 1994 +0000
@@ -18,7 +18,7 @@
 * Reverting::      @code{revert-buffer}, and how to customize what it does.
 @end menu
 
-@node Backup Files, Auto-Saving, Backups and Auto-Saving, Backups and Auto-Saving
+@node Backup Files
 @section Backup Files
 @cindex backup file
 
@@ -47,7 +47,7 @@
 * Backup Names::       How backup file names are computed; customization.
 @end menu
 
-@node Making Backups, Rename or Copy, Backup Files, Backup Files
+@node Making Backups
 @subsection Making Backup Files
 
 @defun backup-buffer
@@ -111,7 +111,7 @@
 variable.
 @end defvar
 
-@node Rename or Copy, Numbered Backups, Making Backups, Backup Files
+@node Rename or Copy
 @subsection Backup by Renaming or by Copying?
 @cindex backup files, how to make them
 
@@ -173,7 +173,7 @@
 non-@code{nil}.
 @end defvar
 
-@node Numbered Backups, Backup Names, Rename or Copy, Backup Files
+@node Numbered Backups
 @subsection Making and Deleting Numbered Backup Files
 
   If a file's name is @file{foo}, the names of its numbered backup
@@ -233,7 +233,7 @@
 file.  The default value is 2.
 @end defopt
 
-@node Backup Names, , Numbered Backups, Backup Files
+@node Backup Names
 @subsection Naming Backup Files
 
   The functions in this section are documented mainly because you can
@@ -343,7 +343,7 @@
 a file by default with its most recent backup.
 @end defun 
 
-@node Auto-Saving, Reverting, Backup Files, Backups and Auto-Saving
+@node Auto-Saving
 @section Auto-Saving
 @cindex auto-saving
 
@@ -534,7 +534,19 @@
 nothing.
 @end defun
 
-@node Reverting,  , Auto-Saving, Backups and Auto-Saving
+@defvar buffer-saved-size
+The value of this buffer-local variable is the former length of the
+current buffer, as of the last time it was read in, saved or auto-saved.
+This is used to detect a substantial decrease in size, and turn off
+auto-saving in response.
+
+If it is -1, that means auto-saving is temporarily shut off in this
+buffer due to a substantial deletion.  Explicitly saving the buffer
+stores a positive value in this variable, thus reenabling auto-save.
+Turning Auto-Save mode off or on also alters this variable.
+@end defvar
+
+@node Reverting
 @section Reverting
 
   If you have made extensive changes to a file and then change your mind