From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: specific backup
Date: Fri, 17 Oct 2008 07:34:36 -0600 [thread overview]
Message-ID: <gda494$n93$1@ger.gmane.org> (raw)
In-Reply-To: <m2bpxj374b.fsf@free.fr>
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
prev parent reply other threads:[~2008-10-17 13:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-17 9:26 specific backup harven
2008-10-17 13:34 ` Kevin Rodgers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gda494$n93$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).