Mercurial > hg > xemacs-beta
comparison man/lispref/backups.texi @ 446:1ccc32a20af4 r21-2-38
Import from CVS: tag r21-2-38
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:37:21 +0200 |
parents | 576fb035e263 |
children | e2da7cf7aa74 |
comparison
equal
deleted
inserted
replaced
445:34f3776fcf0e | 446:1ccc32a20af4 |
---|---|
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 Lisp Reference Manual}, for information on |
362 for users. Here we describe the functions used to implement auto-saving | 362 auto-save for users. Here we describe the functions used to implement |
363 and the variables that control them. | 363 auto-saving 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 |
367 auto-saving the current buffer. It is @code{nil} if the buffer | 367 auto-saving the current buffer. It is @code{nil} if the buffer |
368 should not be auto-saved. | 368 should not be auto-saved. |
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 Lisp Reference Manual}. |
583 | 583 |
584 @deffn Command revert-buffer &optional check-auto-save noconfirm preserve-modes | 584 @deffn Command revert-buffer &optional check-auto-save noconfirm preserve-modes |
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. |