Merge pull request #1771 from Airblader/feature-1769

Implement new criterion 'workspace'.
This commit is contained in:
Michael Stapelberg
2015-06-30 13:52:54 -07:00
8 changed files with 55 additions and 2 deletions

View File

@ -137,6 +137,11 @@ CFGFUN(criteria_add, const char *ctype, const char *cvalue) {
return;
}
if (strcmp(ctype, "workspace") == 0) {
current_match->workspace = regex_new(cvalue);
return;
}
ELOG("Unknown criterion: %s\n", ctype);
}