For example when editing various data files, the backup data is no use and actually trips up our tools. So I’d like to be able to disable backup for files containing a regexp in the name.
justinhj
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I hate to simply reference other online resources for questions like these, but this appears to be a perfect fit for your needs.
http://anirudhs.chaosnet.org/blog/2005.01.21.html
Once you’ve setup what’s described on that page, you could just add this to your
.emacsor.emacs.d/init.elfile depending on your version of emacs:Where
\\.ext1$,\\.ext2$, etc. are the regular expressions that match the filenames you don’t want backups for.