diff options
| author | Richard M. Stallman | 1994-04-19 18:32:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-19 18:32:49 +0000 |
| commit | 0680592c259adf65f379ba6684f32dbf6257ceb0 (patch) | |
| tree | f5231d170385f5bf95d5cf89584474ebcae21a0b | |
| parent | c7cd67bd78d538bb850e0220d72fc4a44a4560b9 (diff) | |
| download | emacs-0680592c259adf65f379ba6684f32dbf6257ceb0.tar.gz emacs-0680592c259adf65f379ba6684f32dbf6257ceb0.zip | |
*** empty log message ***
| -rw-r--r-- | lispref/backups.texi | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/lispref/backups.texi b/lispref/backups.texi index 57108105e0b..28da97ee46c 100644 --- a/lispref/backups.texi +++ b/lispref/backups.texi | |||
| @@ -18,7 +18,7 @@ current session. | |||
| 18 | * Reverting:: @code{revert-buffer}, and how to customize what it does. | 18 | * Reverting:: @code{revert-buffer}, and how to customize what it does. |
| 19 | @end menu | 19 | @end menu |
| 20 | 20 | ||
| 21 | @node Backup Files, Auto-Saving, Backups and Auto-Saving, Backups and Auto-Saving | 21 | @node Backup Files |
| 22 | @section Backup Files | 22 | @section Backup Files |
| 23 | @cindex backup file | 23 | @cindex backup file |
| 24 | 24 | ||
| @@ -47,7 +47,7 @@ don't want them any more, or Emacs can delete them automatically. | |||
| 47 | * Backup Names:: How backup file names are computed; customization. | 47 | * Backup Names:: How backup file names are computed; customization. |
| 48 | @end menu | 48 | @end menu |
| 49 | 49 | ||
| 50 | @node Making Backups, Rename or Copy, Backup Files, Backup Files | 50 | @node Making Backups |
| 51 | @subsection Making Backup Files | 51 | @subsection Making Backup Files |
| 52 | 52 | ||
| 53 | @defun backup-buffer | 53 | @defun backup-buffer |
| @@ -111,7 +111,7 @@ backups based on which file is visited. Major modes should not set this | |||
| 111 | variable. | 111 | variable. |
| 112 | @end defvar | 112 | @end defvar |
| 113 | 113 | ||
| 114 | @node Rename or Copy, Numbered Backups, Making Backups, Backup Files | 114 | @node Rename or Copy |
| 115 | @subsection Backup by Renaming or by Copying? | 115 | @subsection Backup by Renaming or by Copying? |
| 116 | @cindex backup files, how to make them | 116 | @cindex backup files, how to make them |
| 117 | 117 | ||
| @@ -173,7 +173,7 @@ This variable is significant only if @code{backup-by-copying} is | |||
| 173 | non-@code{nil}. | 173 | non-@code{nil}. |
| 174 | @end defvar | 174 | @end defvar |
| 175 | 175 | ||
| 176 | @node Numbered Backups, Backup Names, Rename or Copy, Backup Files | 176 | @node Numbered Backups |
| 177 | @subsection Making and Deleting Numbered Backup Files | 177 | @subsection Making and Deleting Numbered Backup Files |
| 178 | 178 | ||
| 179 | If a file's name is @file{foo}, the names of its numbered backup | 179 | If a file's name is @file{foo}, the names of its numbered backup |
| @@ -233,7 +233,7 @@ same thing @code{kept-new-versions} does when you make a new backup | |||
| 233 | file. The default value is 2. | 233 | file. The default value is 2. |
| 234 | @end defopt | 234 | @end defopt |
| 235 | 235 | ||
| 236 | @node Backup Names, , Numbered Backups, Backup Files | 236 | @node Backup Names |
| 237 | @subsection Naming Backup Files | 237 | @subsection Naming Backup Files |
| 238 | 238 | ||
| 239 | The functions in this section are documented mainly because you can | 239 | The functions in this section are documented mainly because you can |
| @@ -343,7 +343,7 @@ Some file comparison commands use this function in order to compare | |||
| 343 | a file by default with its most recent backup. | 343 | a file by default with its most recent backup. |
| 344 | @end defun | 344 | @end defun |
| 345 | 345 | ||
| 346 | @node Auto-Saving, Reverting, Backup Files, Backups and Auto-Saving | 346 | @node Auto-Saving |
| 347 | @section Auto-Saving | 347 | @section Auto-Saving |
| 348 | @cindex auto-saving | 348 | @cindex auto-saving |
| 349 | 349 | ||
| @@ -534,7 +534,19 @@ file. If the visited file name has not changed, this function does | |||
| 534 | nothing. | 534 | nothing. |
| 535 | @end defun | 535 | @end defun |
| 536 | 536 | ||
| 537 | @node Reverting, , Auto-Saving, Backups and Auto-Saving | 537 | @defvar buffer-saved-size |
| 538 | The value of this buffer-local variable is the former length of the | ||
| 539 | current buffer, as of the last time it was read in, saved or auto-saved. | ||
| 540 | This is used to detect a substantial decrease in size, and turn off | ||
| 541 | auto-saving in response. | ||
| 542 | |||
| 543 | If it is -1, that means auto-saving is temporarily shut off in this | ||
| 544 | buffer due to a substantial deletion. Explicitly saving the buffer | ||
| 545 | stores a positive value in this variable, thus reenabling auto-save. | ||
| 546 | Turning Auto-Save mode off or on also alters this variable. | ||
| 547 | @end defvar | ||
| 548 | |||
| 549 | @node Reverting | ||
| 538 | @section Reverting | 550 | @section Reverting |
| 539 | 551 | ||
| 540 | If you have made extensive changes to a file and then change your mind | 552 | If you have made extensive changes to a file and then change your mind |