* Inhibit backup on special directories
@ 2005-04-23 16:20 Ismael Valladolid Torres
2005-04-23 17:46 ` Ian Zimmerman
0 siblings, 1 reply; 2+ messages in thread
From: Ismael Valladolid Torres @ 2005-04-23 16:20 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-23 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-23 16:20 Inhibit backup on special directories Ismael Valladolid Torres
2005-04-23 17:46 ` Ian Zimmerman
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).