comparison lispref/backups.texi @ 21682:90da2489c498

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Apr 1998 17:43:57 +0000
parents 66d807bdc5b4
children d4ac295a98b3
comparison
equal deleted inserted replaced
21681:11eafe90b842 21682:90da2489c498
292 The standard definition of this function is as follows: 292 The standard definition of this function is as follows:
293 293
294 @smallexample 294 @smallexample
295 @group 295 @group
296 (defun make-backup-file-name (file) 296 (defun make-backup-file-name (file)
297 "Create the non-numeric backup file name for FILE. 297 "Create the non-numeric backup file name for FILE@enddots{}"
298 @dots{}"
299 (concat file "~")) 298 (concat file "~"))
300 @end group 299 @end group
301 @end smallexample 300 @end smallexample
302 301
303 You can change the backup-file naming convention by redefining this 302 You can change the backup-file naming convention by redefining this
440 439
441 @example 440 @example
442 @group 441 @group
443 (defun make-auto-save-file-name () 442 (defun make-auto-save-file-name ()
444 "Return file name to use for auto-saves \ 443 "Return file name to use for auto-saves \
445 of current buffer. 444 of current buffer@enddots{}"
446 @dots{}"
447 (if buffer-file-name 445 (if buffer-file-name
448 @end group 446 @end group
449 @group 447 @group
450 (concat 448 (concat
451 (file-name-directory buffer-file-name) 449 (file-name-directory buffer-file-name)
548 The value of this buffer-local variable is the length of the current 546 The value of this buffer-local variable is the length of the current
549 buffer as of the last time it was read in, saved, or auto-saved. This is 547 buffer as of the last time it was read in, saved, or auto-saved. This is
550 used to detect a substantial decrease in size, and turn off auto-saving 548 used to detect a substantial decrease in size, and turn off auto-saving
551 in response. 549 in response.
552 550
553 If it is -1, that means auto-saving is temporarily shut off in this 551 If it is @minus{}1, that means auto-saving is temporarily shut off in this
554 buffer due to a substantial deletion. Explicitly saving the buffer 552 buffer due to a substantial deletion. Explicitly saving the buffer
555 stores a positive value in this variable, thus reenabling auto-saving. 553 stores a positive value in this variable, thus reenabling auto-saving.
556 Turning auto-save mode off or on also alters this variable. 554 Turning auto-save mode off or on also alters this variable.
557 @end defvar 555 @end defvar
558 556