emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backup method


From: Luc Teirlinck
Subject: Re: backup method
Date: Wed, 26 Jan 2005 19:47:02 -0600 (CST)

Han Boetes wrote:

   Perhaps it's also an idea to disable backups altogether if the
   file is in /tmp

Is this not already the case?  From `(elisp)Making Backups':

 -- Variable: backup-enable-predicate
     This variable's value is a function to be called on certain
     occasions to decide whether a file should have backup files.  The
     function receives one argument, an absolute file name to consider.
     If the function returns `nil', backups are disabled for that
     file.  Otherwise, the other variables in this section say whether
     and how to make backups.

     The default value is `normal-backup-enable-predicate', which checks
     for files in `temporary-file-directory' and
     `small-temporary-file-directory'.

`temporary-file-directory' is "/tmp/" by default.

Sincerely,

Luc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]