Add Emacs temporary files to the default ignored list

Emacs generates temporary backup files while editing named "#FILENAME#"
and ".#FILENAME". Ignore these by default.
This commit is contained in:
Bruce Guenter 2018-02-08 12:21:06 -06:00
parent c98bea3118
commit 422546b175
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,8 @@ pub fn get_args() -> Args {
let mut ignores = vec![];
let default_ignores = vec![format!("**{}.DS_Store", MAIN_SEPARATOR),
String::from("*.pyc"),
String::from("#*#"),
String::from(".#*"),
String::from(".*.sw?"),
String::from(".*.sw?x"),
format!("**{}.git{}**", MAIN_SEPARATOR, MAIN_SEPARATOR),