* specific backup
@ 2008-10-17 9:26 harven
2008-10-17 13:34 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: harven @ 2008-10-17 9:26 UTC (permalink / raw)
To: help-gnu-emacs
Is there a way to inhibit backups (that is the making of ~ files)
for files satisfying some regular expression, or for files in a
given list ?
thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: specific backup
2008-10-17 9:26 specific backup harven
@ 2008-10-17 13:34 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2008-10-17 13:34 UTC (permalink / raw)
To: help-gnu-emacs
harven wrote:
> Is there a way to inhibit backups (that is the making of ~ files)
> for files satisfying some regular expression, or for files in a
> given list ?
RTFM (Emacs):
The default value of the `backup-enable-predicate' variable prevents
backup files being written for files in the directories used for
temporary files, specified by `temporary-file-directory' or
`small-temporary-file-directory'.
RTFM (Emacs Lisp):
-- 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'.
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-17 13:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 9:26 specific backup harven
2008-10-17 13:34 ` Kevin Rodgers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).