Mercurial > hg > xemacs-beta
comparison man/lispref/backups.texi @ 367:a4f53d9b3154 r21-1-13
Import from CVS: tag r21-1-13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:01:07 +0200 |
parents | 8e84bee8ddd0 |
children | cc15677e0335 |
comparison
equal
deleted
inserted
replaced
366:83d76f480a59 | 367:a4f53d9b3154 |
---|---|
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, emacs, The XEmacs Reference Manual}, for information on auto-save | 361 Disasters, xemacs, 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, emacs, The XEmacs Reference Manual}. | 582 Reverting a Buffer, xemacs, 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. |