Remove POSIX 'cpoptions': '.'

This commit is contained in:
Michael Reed
2015-07-03 05:23:26 -04:00
parent 3931a36340
commit 0661411bba
3 changed files with 1 additions and 13 deletions

View File

@@ -6834,12 +6834,6 @@ void ex_cd(exarg_T *eap)
{
if (allbuf_locked())
return;
if (vim_strchr(p_cpo, CPO_CHDIR) != NULL && curbufIsChanged()
&& !eap->forceit) {
EMSG(_(
"E747: Cannot change directory, buffer is modified (add ! to override)"));
return;
}
/* ":cd -": Change to previous directory */
if (STRCMP(new_dir, "-") == 0) {