From: Ismael Valladolid Torres <ivalladt@punkass.com>
Subject: Inhibit backup on special directories
Date: Sat, 23 Apr 2005 18:20:09 +0200 [thread overview]
Message-ID: <1114273209.7061.8.camel@localhost.localdomain> (raw)
My USB disk mounts on /media/usbdisk. I'd like that, when editing files
located on that unit, backups are never created, at least on that
location.
I've come to this snippet:
(setq backup-directory-alist
'(("^/media/usbdisk/" . "/tmp")))
This works, it moves backups of all files there to /tmp, but I wonder if
I could simply inhibit backup file creation at all.
I see there's a variable called backup-inhibited, but I don't see how to
make it work for files in a given directory. Well, sorry I am not an
elisp expert by now!
Any ideas useful.
Cordially, Ismael
next reply other threads:[~2005-04-23 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-23 16:20 Ismael Valladolid Torres [this message]
2005-04-23 17:46 ` Inhibit backup on special directories Ian Zimmerman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1114273209.7061.8.camel@localhost.localdomain \
--to=ivalladt@punkass.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.