refactor/rename: path_try_shorten_fname()

This commit is contained in:
Justin M. Keyes
2018-03-24 13:56:55 +01:00
parent 998a16c926
commit 7ae4144208
5 changed files with 12 additions and 12 deletions

View File

@@ -8561,7 +8561,7 @@ eval_vars (
"E495: no autocommand file name to substitute for \"<afile>\"");
return NULL;
}
result = path_shorten_fname_if_possible(result);
result = path_try_shorten_fname(result);
break;
case SPEC_ABUF: /* buffer number for autocommand */