Mercurial > hg > xemacs-beta
comparison man/lispref/backups.texi @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | a4f53d9b3154 |
children | a86b2b5e0111 |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
224 as old versions and those numbered 5 and 7 are kept as new versions; | 224 as old versions and those numbered 5 and 7 are kept as new versions; |
225 backup version 3 is excess. The function @code{find-backup-file-name} | 225 backup version 3 is excess. The function @code{find-backup-file-name} |
226 (@pxref{Backup Names}) is responsible for determining which backup | 226 (@pxref{Backup Names}) is responsible for determining which backup |
227 versions to delete, but does not delete them itself. | 227 versions to delete, but does not delete them itself. |
228 | 228 |
229 @defopt delete-old-versions | 229 @defopt trim-versions-without-asking |
230 If this variable is non-@code{nil}, then saving a file deletes excess | 230 If this variable is non-@code{nil}, then saving a file deletes excess |
231 backup versions silently. Otherwise, it asks the user whether to delete | 231 backup versions silently. Otherwise, it asks the user whether to delete |
232 them. | 232 them. |
233 @end defopt | 233 @end defopt |
234 | 234 |
356 XEmacs periodically saves all files that you are visiting; this is | 356 XEmacs periodically saves all files that you are visiting; this is |
357 called @dfn{auto-saving}. Auto-saving prevents you from losing more | 357 called @dfn{auto-saving}. Auto-saving prevents you from losing more |
358 than a limited amount of work if the system crashes. By default, | 358 than a limited amount of work if the system crashes. By default, |
359 auto-saves happen every 300 keystrokes, or after around 30 seconds of | 359 auto-saves happen every 300 keystrokes, or after around 30 seconds of |
360 idle time. @xref{Auto-Save, Auto-Save, Auto-Saving: Protection Against | 360 idle time. @xref{Auto-Save, Auto-Save, Auto-Saving: Protection Against |
361 Disasters, xemacs, The XEmacs Reference Manual}, for information on auto-save | 361 Disasters, emacs, The XEmacs Reference Manual}, for information on auto-save |
362 for users. Here we describe the functions used to implement auto-saving | 362 for users. Here we describe the functions used to implement auto-saving |
363 and the variables that control them. | 363 and the variables that control them. |
364 | 364 |
365 @defvar buffer-auto-save-file-name | 365 @defvar buffer-auto-save-file-name |
366 This buffer-local variable is the name of the file used for | 366 This buffer-local variable is the name of the file used for |
577 @section Reverting | 577 @section Reverting |
578 | 578 |
579 If you have made extensive changes to a file and then change your mind | 579 If you have made extensive changes to a file and then change your mind |
580 about them, you can get rid of them by reading in the previous version | 580 about them, you can get rid of them by reading in the previous version |
581 of the file with the @code{revert-buffer} command. @xref{Reverting, , | 581 of the file with the @code{revert-buffer} command. @xref{Reverting, , |
582 Reverting a Buffer, xemacs, The XEmacs Reference Manual}. | 582 Reverting a Buffer, emacs, The XEmacs Reference Manual}. |
583 | 583 |
584 @deffn Command revert-buffer &optional check-auto-save noconfirm | 584 @deffn Command revert-buffer &optional check-auto-save noconfirm |
585 This command replaces the buffer text with the text of the visited | 585 This command replaces the buffer text with the text of the visited |
586 file on disk. This action undoes all changes since the file was visited | 586 file on disk. This action undoes all changes since the file was visited |
587 or saved. | 587 or saved. |